KEYTYPE - May key typeVALUETYPE - Map value typepublic interface ICommonsOrderedMap<KEYTYPE,VALUETYPE> extends ICommonsMap<KEYTYPE,VALUETYPE>
| Modifier and Type | Method and Description |
|---|---|
default ICommonsOrderedSet<Map.Entry<KEYTYPE,VALUETYPE>> |
copyOfEntrySet() |
default ICommonsOrderedSet<KEYTYPE> |
copyOfKeySet() |
default ICommonsOrderedSet<KEYTYPE> |
copyOfKeySet(Predicate<? super KEYTYPE> aFilter)
Create a copy of all values matching the passed filter.
|
default <K,V> ICommonsOrderedMap<K,V> |
createInstance()
Create a new empty map.
|
ICommonsOrderedMap<KEYTYPE,VALUETYPE> |
getClone() |
default KEYTYPE |
getLastKey() |
default KEYTYPE |
getLastKey(KEYTYPE aDefault) |
default VALUETYPE |
getLastValue() |
default VALUETYPE |
getLastValue(VALUETYPE aDefault) |
addAll, containsAnyEntry, containsAnyKey, containsAnyValue, copyOfValues, copyOfValues, copyOfValuesMapped, copyOfValuesMapped, findFirstEntry, findFirstKey, findFirstValue, forEach, forEachKey, forEachKey, forEachValue, forEachValue, getAsUnmodifiable, getFirstEntry, getFirstEntry, getFirstKey, getFirstKey, getFirstValue, getFirstValue, getSortedByKey, getSortedByValue, getSwappedKeyValues, isNotEmpty, put, putAll, putAll, putAllMapped, putAllMapped, putAllMapped, putIf, putIfNotNull, removeAll, removeIf, removeIfKey, removeIfValue, removeObject, setAllclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values@Nonnull @ReturnsMutableCopy default <K,V> ICommonsOrderedMap<K,V> createInstance()
ICommonsMapCommonsHashMap.createInstance in interface ICommonsMap<KEYTYPE,VALUETYPE>K - Map key typeV - Map value typenull.@Nonnull @ReturnsMutableCopy default ICommonsOrderedSet<KEYTYPE> copyOfKeySet()
copyOfKeySet in interface ICommonsMap<KEYTYPE,VALUETYPE>null set with all keys.Map.keySet(),
ICommonsMap.copyOfKeySet(Predicate)@Nonnull @ReturnsMutableCopy default ICommonsOrderedSet<KEYTYPE> copyOfKeySet(@Nullable Predicate<? super KEYTYPE> aFilter)
ICommonsMapcopyOfKeySet in interface ICommonsMap<KEYTYPE,VALUETYPE>aFilter - The filter to be applied. May be null.null set with all matching keys.Map.keySet(),
ICommonsMap.copyOfKeySet()@Nonnull @ReturnsMutableCopy default ICommonsOrderedSet<Map.Entry<KEYTYPE,VALUETYPE>> copyOfEntrySet()
copyOfEntrySet in interface ICommonsMap<KEYTYPE,VALUETYPE>null copy of the entry set.@Nonnull @ReturnsMutableCopy ICommonsOrderedMap<KEYTYPE,VALUETYPE> getClone()
getClone in interface ICloneable<ICommonsMap<KEYTYPE,VALUETYPE>>Copyright © 2014–2017 Philip Helger. All rights reserved.