Uses of Interface
java.util.NavigableSet
Packages that use 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
Classes in java.util that implement NavigableSetModifier and TypeClassDescriptionclassTreeSet<E>ANavigableSetimplementation based on aTreeMap.Methods in java.util that return NavigableSetModifier 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 orderNavigableSetview 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, ifinclusiveis true)toElement.NavigableMap.navigableKeySet()Returns aNavigableSetview of the keys contained in this map.TreeMap.navigableKeySet()Returns a view of the portion of this set whose elements range fromfromElementtotoElement.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, ifinclusiveis true)fromElement.static <T> NavigableSet<T>Collections.unmodifiableNavigableSet(NavigableSet<T> s) Returns an unmodifiable view of the specified navigable set.Methods in java.util with parameters of type NavigableSetModifier 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
Classes in java.util.concurrent that implement NavigableSetModifier and TypeClassDescriptionclassA scalable concurrentNavigableSetimplementation based on aConcurrentSkipListMap.Methods in java.util.concurrent that return NavigableSetModifier and TypeMethodDescriptionConcurrentNavigableMap.descendingKeySet()Returns a reverse orderNavigableSetview 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 aNavigableSetview of the keys contained in this map.ConcurrentSkipListMap.keySet()Returns aNavigableSetview of the keys contained in this map.ConcurrentNavigableMap.navigableKeySet()Returns aNavigableSetview of the keys contained in this map.ConcurrentSkipListMap.navigableKeySet()ConcurrentSkipListSet.subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)