Java java.util.concurrent ConcurrentSkipListSet fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent ConcurrentSkipListSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent ConcurrentSkipListSet.

The text is from its open source code.

Constructor

ConcurrentSkipListSet(Comparator comparator)
Constructs a new, empty set that orders its elements according to the specified comparator.
ConcurrentSkipListSet(Collection c)
Constructs a new set containing the elements in the specified collection, that orders its elements according to their Comparable natural ordering .
ConcurrentSkipListSet(SortedSet s)
Constructs a new set containing the same elements and using the same ordering as the specified sorted set.
ConcurrentSkipListSet(ConcurrentNavigableMap m)
For use by submaps
ConcurrentSkipListSet()
Constructs a new, empty set that orders its elements according to their Comparable natural ordering .

Method

booleanadd(E e)
Adds the specified element to this set if it is not already present.
booleanaddAll(Collection c)
Adds all of the elements in the specified collection to this set if they're not already present (optional operation).
booleancontains(Object o)
Returns true if this set contains the specified element.
NavigableSetheadSet(E toElement)
booleanisEmpty()
Returns true if this set contains no elements.
EpollFirst()
booleanremove(Object o)
Removes the specified element from this set if it is present.
intsize()
Returns the number of elements in this set.
NavigableSettailSet(E fromElement, boolean inclusive)
NavigableSettailSet(E fromElement)