Class PresortedMap
java.lang.Object
com.thoughtworks.xstream.core.util.PresortedMap
- All Implemented Interfaces:
Map
,SequencedMap
,SortedMap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionPresortedMap
(Comparator comparator) private
PresortedMap
(Comparator comparator, PresortedMap.ArraySet set) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
Methods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry, sequencedEntrySet, sequencedKeySet, sequencedValues
-
Field Details
-
set
-
comparator
-
-
Constructor Details
-
PresortedMap
public PresortedMap() -
PresortedMap
-
PresortedMap
-
-
Method Details
-
comparator
- Specified by:
comparator
in interfaceSortedMap
-
entrySet
-
firstKey
-
headMap
-
keySet
-
lastKey
-
subMap
-
tailMap
-
values
-
clear
public void clear() -
containsKey
- Specified by:
containsKey
in interfaceMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
-
get
-
isEmpty
public boolean isEmpty() -
put
-
putAll
-
remove
-
size
public int size()
-