Class ValueComparableMap<K extends Comparable<K>,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<K,V>
meteordevelopment.meteorclient.utils.misc.ValueComparableMap<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,,V> NavigableMap<K,,V> SortedMap<K,V>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionValueComparableMap(com.google.common.collect.Ordering<? super V> partialValueOrdering) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key) getOrDefault(Object key, V defaultValue) Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Constructor Details
-
ValueComparableMap
-
-
Method Details
-
put
-
containsKey
- Specified by:
containsKeyin interfaceMap<K extends Comparable<K>,V> - Overrides:
containsKeyin classTreeMap<K extends Comparable<K>,V>
-
getOrDefault
-