KEYTYPE - Map key typeVALUETYPE - Map value typepublic class CommonsTreeMap<KEYTYPE,VALUETYPE> extends TreeMap<KEYTYPE,VALUETYPE> implements ICommonsNavigableMap<KEYTYPE,VALUETYPE>
TreeMap implementation based on
ICommonsNavigableMap.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CommonsTreeMap() |
CommonsTreeMap(Collection<? extends COLLTYPE> aValues,
Function<? super COLLTYPE,? extends KEYTYPE> aKeyMapper,
Function<? super COLLTYPE,? extends VALUETYPE> aValueMapper) |
CommonsTreeMap(Comparator<? super KEYTYPE> aComparator) |
CommonsTreeMap(Map<? extends KEYTYPE,? extends VALUETYPE> aMap) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> CommonsTreeMap<K,V> |
createInstance()
Create a new
CommonsTreeMap. |
CommonsTreeMap<KEYTYPE,VALUETYPE> |
getClone() |
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, valuesequals, hashCode, isEmpty, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetAsUnmodifiableceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMapcopyOfEntrySet, copyOfKeySet, copyOfKeySet, getFirstKey, getFirstValue, getLastKey, getLastKey, getLastValue, getLastValuecomparator, entrySet, firstKey, keySet, lastKey, valuesaddAll, containsAnyEntry, containsAnyKey, containsAnyValue, copyOfValues, copyOfValues, copyOfValuesMapped, copyOfValuesMapped, findFirstEntry, findFirstKey, findFirstValue, forEach, forEachKey, forEachKey, forEachValue, forEachValue, getFirstEntry, getFirstEntry, getFirstKey, getFirstValue, getSortedByKey, getSortedByValue, getSwappedKeyValues, isNotEmpty, put, putAll, putAll, putAllMapped, putAllMapped, putAllMapped, putIf, putIfNotNull, removeAll, removeIf, removeIfKey, removeIfValue, removeObject, setAllclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic CommonsTreeMap()
public CommonsTreeMap(@Nullable Comparator<? super KEYTYPE> aComparator)
@Nonnull @ReturnsMutableCopy public <K,V> CommonsTreeMap<K,V> createInstance()
ICommonsSortedMapCommonsTreeMap.createInstance in interface ICommonsMap<KEYTYPE,VALUETYPE>createInstance in interface ICommonsSortedMap<KEYTYPE,VALUETYPE>K - Map key typeV - Map value typenull.@Nonnull @ReturnsMutableCopy public CommonsTreeMap<KEYTYPE,VALUETYPE> getClone()
getClone in interface ICommonsNavigableMap<KEYTYPE,VALUETYPE>getClone in interface ICommonsSortedMap<KEYTYPE,VALUETYPE>getClone in interface ICloneable<ICommonsMap<KEYTYPE,VALUETYPE>>Copyright © 2014–2017 Philip Helger. All rights reserved.