K - the type of the keysT - the decoded type of the valuesPT - the persisted type from which we are decoding and to which we are
encoding each valuespublic class PersistedSortedMap<K,T,PT> extends PersistedMap<K,T,PT> implements SortedMap<K,T>, PersistedObject<T,PT>
PersistedSortedMap class provides a SortedMap
implementation suitable to hold persisted values.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
Comparator<? super K> |
comparator() |
K |
firstKey() |
SortedMap<K,PersistedValue<T,PT>> |
getPersistedMap()
Gets the persisted map.
|
SortedMap<K,T> |
headMap(K toKey) |
K |
lastKey() |
SortedMap<K,T> |
subMap(K fromKey,
K toKey) |
SortedMap<K,T> |
tailMap(K fromKey) |
clear, containsKey, entrySet, get, isEmpty, keySet, put, remove, size, toString, valuesclone, containsValue, equals, hashCode, putAllfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic SortedMap<K,PersistedValue<T,PT>> getPersistedMap()
getPersistedMap in class PersistedMap<K,T,PT>null persisted mapPersistedMap.getPersistedMap()public Comparator<? super K> comparator()
comparator in interface SortedMap<K,T>SortedMap.comparator()public K firstKey()
firstKey in interface SortedMap<K,T>SortedMap.firstKey()public K lastKey()
lastKey in interface SortedMap<K,T>SortedMap.lastKey()public SortedMap<K,T> subMap(K fromKey, K toKey)
subMap in interface SortedMap<K,T>SortedMap.subMap(java.lang.Object, java.lang.Object)public SortedMap<K,T> headMap(K toKey)
headMap in interface SortedMap<K,T>SortedMap.headMap(java.lang.Object)Copyright (C) 2015-2015 The Helenus Driver Project Authors.