Constructor and Description |
---|
PresortedSet() |
PresortedSet(Comparator comparator) |
PresortedSet(Comparator comparator,
Collection c) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object e) |
boolean |
addAll(Collection c) |
void |
clear() |
Comparator |
comparator() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
equals(Object o) |
Object |
first() |
int |
hashCode() |
SortedSet |
headSet(Object toElement) |
boolean |
isEmpty() |
Iterator |
iterator() |
Object |
last() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
List |
subList(int fromIndex,
int toIndex) |
SortedSet |
subSet(Object fromElement,
Object toElement) |
SortedSet |
tailSet(Object fromElement) |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public PresortedSet()
public PresortedSet(Comparator comparator)
public PresortedSet(Comparator comparator, Collection c)
public boolean add(Object e)
add
in interface Collection
add
in interface Set
public boolean addAll(Collection c)
addAll
in interface Collection
addAll
in interface Set
public void clear()
clear
in interface Collection
clear
in interface Set
public boolean contains(Object o)
contains
in interface Collection
contains
in interface Set
public boolean containsAll(Collection c)
containsAll
in interface Collection
containsAll
in interface Set
public boolean equals(Object o)
public int hashCode()
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface Set
public Iterator iterator()
public boolean remove(Object o)
remove
in interface Collection
remove
in interface Set
public boolean removeAll(Collection c)
removeAll
in interface Collection
removeAll
in interface Set
public boolean retainAll(Collection c)
retainAll
in interface Collection
retainAll
in interface Set
public int size()
size
in interface Collection
size
in interface Set
public List subList(int fromIndex, int toIndex)
public Object[] toArray()
toArray
in interface Collection
toArray
in interface Set
public Object[] toArray(Object[] a)
toArray
in interface Collection
toArray
in interface Set
public Comparator comparator()
comparator
in interface SortedSet
Copyright © 2004–2016 XStream. All rights reserved.