Class PresortedSet
java.lang.Object
com.thoughtworks.xstream.core.util.PresortedSet
- All Implemented Interfaces:
Iterable,Collection,SequencedCollection,SequencedSet,Set,SortedSet
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPresortedSet(Comparator comparator) PresortedSet(Comparator comparator, Collection c) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.SortedSet
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed, spliterator
-
Field Details
-
list
-
comparator
-
-
Constructor Details
-
PresortedSet
public PresortedSet() -
PresortedSet
-
PresortedSet
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection- Specified by:
addin interfaceSet
-
addAll
- Specified by:
addAllin interfaceCollection- Specified by:
addAllin interfaceSet
-
clear
public void clear()- Specified by:
clearin interfaceCollection- Specified by:
clearin interfaceSet
-
contains
- Specified by:
containsin interfaceCollection- Specified by:
containsin interfaceSet
-
containsAll
- Specified by:
containsAllin interfaceCollection- Specified by:
containsAllin interfaceSet
-
equals
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection- Specified by:
isEmptyin interfaceSet
-
iterator
-
remove
- Specified by:
removein interfaceCollection- Specified by:
removein interfaceSet
-
removeAll
- Specified by:
removeAllin interfaceCollection- Specified by:
removeAllin interfaceSet
-
retainAll
- Specified by:
retainAllin interfaceCollection- Specified by:
retainAllin interfaceSet
-
size
public int size()- Specified by:
sizein interfaceCollection- Specified by:
sizein interfaceSet
-
subList
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceSet
-
toArray
- Specified by:
toArrayin interfaceCollection- Specified by:
toArrayin interfaceSet
-
comparator
- Specified by:
comparatorin interfaceSortedSet
-
first
-
headSet
-
last
-
subSet
-
tailSet
-