| Package | Description |
|---|---|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TreeSet<E>
A
NavigableSet implementation based on a
TreeMap.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> NavigableSet |
Collections.checkedNavigableSet(NavigableSet
Returns a dynamically typesafe view of the specified navigable set.
|
NavigableSet |
NavigableMap.descendingKeySet()
Returns a reverse order
NavigableSet view of the keys contained in this map.
|
NavigableSet |
TreeMap.descendingKeySet()
|
NavigableSet |
NavigableSet.descendingSet()
Returns a reverse order view of the elements contained in this set.
|
NavigableSet |
TreeSet.descendingSet()
|
static <E> NavigableSet |
Collections.emptyNavigableSet()
Returns an empty navigable set (immutable).
|
NavigableSet |
NavigableSet.headSet(E toElement, boolean inclusive)
Returns a view of the portion of this set whose elements are less than (or equal to, if
inclusive is true)
toElement.
|
NavigableSet |
TreeSet.headSet(E toElement, boolean inclusive)
|
NavigableSet |
NavigableMap.navigableKeySet()
Returns a
NavigableSet view of the keys contained in this map.
|
NavigableSet |
TreeMap.navigableKeySet()
|
NavigableSet |
NavigableSet.subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
Returns a view of the portion of this set whose elements range from
fromElement to
toElement.
|
NavigableSet |
TreeSet.subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
|
static <T> NavigableSet |
Collections.synchronizedNavigableSet(NavigableSet
Returns a synchronized (thread-safe) navigable set backed by the specified navigable set.
|
NavigableSet |
NavigableSet.tailSet(E fromElement, boolean inclusive)
Returns a view of the portion of this set whose elements are greater than (or equal to, if
inclusive is true)
fromElement.
|
NavigableSet |
TreeSet.tailSet(E fromElement, boolean inclusive)
|
static <T> NavigableSet |
Collections.unmodifiableNavigableSet(NavigableSet
Returns an unmodifiable view of the specified navigable set.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> NavigableSet |
Collections.checkedNavigableSet(NavigableSet
Returns a dynamically typesafe view of the specified navigable set.
|
static <T> NavigableSet |
Collections.synchronizedNavigableSet(NavigableSet
Returns a synchronized (thread-safe) navigable set backed by the specified navigable set.
|
static <T> NavigableSet |
Collections.unmodifiableNavigableSet(NavigableSet
Returns an unmodifiable view of the specified navigable set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentSkipListSet<E>
A scalable concurrent
NavigableSet implementation based on a
ConcurrentSkipListMap.
|
| Modifier and Type | Method and Description |
|---|---|
NavigableSet |
ConcurrentSkipListMap.descendingKeySet()
|
NavigableSet |
ConcurrentNavigableMap.descendingKeySet()
Returns a reverse order
NavigableSet view of the keys contained in this map.
|
NavigableSet |
ConcurrentSkipListSet.descendingSet()
Returns a reverse order view of the elements contained in this set.
|
NavigableSet |
ConcurrentSkipListSet.headSet(E toElement)
|
NavigableSet |
ConcurrentSkipListSet.headSet(E toElement, boolean inclusive)
|
NavigableSet |
ConcurrentSkipListMap.keySet()
Returns a
NavigableSet view of the keys contained in this map.
|
NavigableSet |
ConcurrentNavigableMap.keySet()
Returns a
NavigableSet view of the keys contained in this map.
|
NavigableSet |
ConcurrentSkipListMap.navigableKeySet()
|
NavigableSet |
ConcurrentNavigableMap.navigableKeySet()
Returns a
NavigableSet view of the keys contained in this map.
|
NavigableSet |
ConcurrentSkipListSet.subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
|
NavigableSet |
ConcurrentSkipListSet.subSet(E fromElement, E toElement)
|
NavigableSet |
ConcurrentSkipListSet.tailSet(E fromElement)
|
NavigableSet |
ConcurrentSkipListSet.tailSet(E fromElement, boolean inclusive)
|