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 classprivate static class -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionPresortedMap(Comparator comparator) privatePresortedMap(Comparator comparator, PresortedMap.ArraySet set) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllMethods 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:
comparatorin interfaceSortedMap
-
entrySet
-
firstKey
-
headMap
-
keySet
-
lastKey
-
subMap
-
tailMap
-
values
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap
-
containsValue
- Specified by:
containsValuein interfaceMap
-
get
-
isEmpty
public boolean isEmpty() -
put
-
putAll
-
remove
-
size
public int size()
-