public class EnumLookupMap extends TreeMap<String,Enum<?>>
SortedMap
implementation which provides
String.CASE_INSENSITIVE_ORDER
look-up by name to the
corresponding Enum
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EnumLookupMap(Class<? extends Enum<?>>... types)
Sole constructor.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
@SafeVarargs public EnumLookupMap(Class<? extends Enum<?>>... types)
types
- The Enum
types to include.Copyright © 2015–2020 Allen D. Ball. All rights reserved.