Example usage for Java java.util.concurrent ConcurrentSkipListSet fields, constructors, methods, implement or subclass
The text is from its open source code.
ConcurrentSkipListSet(Comparator super E> comparator) Constructs a new, empty set that orders its elements according to the specified comparator. | |
ConcurrentSkipListSet(Collection extends E> c) Constructs a new set containing the elements in the specified collection, that orders its elements according to their Comparable natural ordering . | |
ConcurrentSkipListSet(SortedSet Constructs a new set containing the same elements and using the same ordering as the specified sorted set. | |
ConcurrentSkipListSet(ConcurrentNavigableMap For use by submaps | |
ConcurrentSkipListSet() Constructs a new, empty set that orders its elements according to their Comparable natural ordering . |
boolean | add(E e) Adds the specified element to this set if it is not already present. |
boolean | addAll(Collection extends E> c) Adds all of the elements in the specified collection to this set if they're not already present (optional operation). |
boolean | contains(Object o) Returns true if this set contains the specified element. |
NavigableSet | headSet(E toElement) |
boolean | isEmpty() Returns true if this set contains no elements. |
E | pollFirst() |
boolean | remove(Object o) Removes the specified element from this set if it is present. |
int | size() Returns the number of elements in this set. |
NavigableSet | tailSet(E fromElement, boolean inclusive) |
NavigableSet | tailSet(E fromElement) |