Package | Description |
---|---|
java.util |
Utilities
|
Modifier and Type | Class and Description |
---|---|
class |
TreeSet<T>
This class provides a TreeMap-backed implementation of the SortedSet
interface.
|
Modifier and Type | Method and Description |
---|---|
NavigableSet<K> |
TreeMap.descendingKeySet()
Returns a reverse ordered
NavigableSet view of this
map's keys. |
NavigableSet<K> |
NavigableMap.descendingKeySet()
Returns a reverse order
NavigableSet view of the keys contained in this map. |
NavigableSet<T> |
TreeSet.descendingSet()
Returns a view of the set in reverse order.
|
NavigableSet<E> |
NavigableSet.descendingSet()
Returns a reverse order view of the elements contained in this set.
|
NavigableSet<E> |
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<T> |
TreeSet.headSet(T to,
boolean inclusive)
Returns a view of this Set including all elements less than
(or equal to, if
inclusive is true) to . |
NavigableSet<K> |
TreeMap.navigableKeySet()
Returns a
NavigableSet view of this map's keys. |
NavigableSet<K> |
NavigableMap.navigableKeySet()
Returns a
NavigableSet view of the keys contained in this map. |
NavigableSet<E> |
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<T> |
TreeSet.subSet(T from,
boolean fromInclusive,
T to,
boolean toInclusive)
Returns a view of this Set including all elements greater than (or equal to,
if
fromInclusive is true from and less than
(or equal to, if toInclusive is true) to . |
NavigableSet<E> |
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<T> |
TreeSet.tailSet(T from,
boolean inclusive)
Returns a view of this Set including all elements greater (or equal to,
if
inclusive is true) from . |