Uses of Interface
java.util.NavigableSet
Packages that useNavigableSet
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 ofNavigableSet injava.util
Classes injava.util that implementNavigableSetMethods injava.util that returnNavigableSetModifier 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()
defaultNavigableSet
<E> NavigableSet.reversed()
Returns a reverse-orderedview of this collection.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 anunmodifiable view of the specified navigable set.Methods injava.util with parameters of typeNavigableSetModifier 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 anunmodifiable view of the specified navigable set.Uses ofNavigableSet injava.util.concurrent
Classes injava.util.concurrent that implementNavigableSetModifier and TypeClassDescriptionclass
A scalable concurrentNavigableSet
implementation based on aConcurrentSkipListMap
.Methods injava.util.concurrent that returnNavigableSetModifier 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()