Uses of Interface
java.util.NavigableSet
Package
Description
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
-
Uses of NavigableSet in java.util
Modifier and TypeClassDescriptionclass
TreeSet<E>
ANavigableSet
implementation based on aTreeMap
.Modifier and TypeMethodDescriptionstatic <E> NavigableSet<E>
Collections.checkedNavigableSet
(NavigableSet<E> s, Class<E> type) Returns a dynamically typesafe view of the specified navigable set.NavigableMap.descendingKeySet()
Returns a reverse orderNavigableSet
view of the keys contained in this map.TreeMap.descendingKeySet()
NavigableSet.descendingSet()
Returns a reverse order view of the elements contained in this set.TreeSet.descendingSet()
static <E> NavigableSet<E>
Collections.emptyNavigableSet()
Returns an empty navigable set (immutable).Returns a view of the portion of this set whose elements are less than (or equal to, ifinclusive
is true)toElement
.NavigableMap.navigableKeySet()
Returns aNavigableSet
view of the keys contained in this map.TreeMap.navigableKeySet()
Returns a view of the portion of this set whose elements range fromfromElement
totoElement
.static <T> NavigableSet<T>
Collections.synchronizedNavigableSet
(NavigableSet<T> s) Returns a synchronized (thread-safe) navigable set backed by the specified navigable set.Returns a view of the portion of this set whose elements are greater than (or equal to, ifinclusive
is true)fromElement
.static <T> NavigableSet<T>
Collections.unmodifiableNavigableSet
(NavigableSet<T> s) Returns an unmodifiable view of the specified navigable set.Modifier and TypeMethodDescriptionstatic <E> NavigableSet<E>
Collections.checkedNavigableSet
(NavigableSet<E> s, Class<E> type) Returns a dynamically typesafe view of the specified navigable set.static <T> NavigableSet<T>
Collections.synchronizedNavigableSet
(NavigableSet<T> s) Returns a synchronized (thread-safe) navigable set backed by the specified navigable set.static <T> NavigableSet<T>
Collections.unmodifiableNavigableSet
(NavigableSet<T> s) Returns an unmodifiable view of the specified navigable set. -
Uses of NavigableSet in java.util.concurrent
Modifier and TypeClassDescriptionclass
A scalable concurrentNavigableSet
implementation based on aConcurrentSkipListMap
.Modifier and TypeMethodDescriptionConcurrentNavigableMap.descendingKeySet()
Returns a reverse orderNavigableSet
view of the keys contained in this map.ConcurrentSkipListMap.descendingKeySet()
ConcurrentSkipListSet.descendingSet()
Returns a reverse order view of the elements contained in this set.ConcurrentNavigableMap.keySet()
Returns aNavigableSet
view of the keys contained in this map.ConcurrentSkipListMap.keySet()
Returns aNavigableSet
view of the keys contained in this map.ConcurrentNavigableMap.navigableKeySet()
Returns aNavigableSet
view of the keys contained in this map.ConcurrentSkipListMap.navigableKeySet()
ConcurrentSkipListSet.subSet
(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)