| [ Web Proxy ] |
| Viewing: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/class-use/SortedSet.html | [Back] [Original] |
| Package | Description |
|---|---|
| java.util |
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.
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| javax.imageio.plugins.tiff |
Public classes used by the built-in TIFF plug-ins.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
NavigableSet<E> |
A
SortedSet extended with navigation methods reporting
closest matches for given search targets. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
TreeSet<E> |
A
NavigableSet implementation based on a TreeMap. |
| Modifier and Type | Method | Description |
|---|---|---|
static <E> SortedSet<E> |
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type) |
Returns a dynamically typesafe view of the specified sorted set.
|
static <E> SortedSet<E> |
Collections.emptySortedSet() |
Returns an empty sorted set (immutable).
|
SortedSet<E> |
NavigableSet.headSet(E toElement) |
Returns a view of the portion of this set whose elements are
strictly less than
toElement. |
SortedSet<E> |
SortedSet.headSet(E toElement) |
Returns a view of the portion of this set whose elements are
strictly less than
toElement. |
SortedSet<E> |
TreeSet.headSet(E toElement) |
|
SortedSet<E> |
NavigableSet.subSet(E fromElement,
E toElement) |
Returns a view of the portion of this set whose elements range
from
fromElement, inclusive, to toElement,
exclusive. |
SortedSet<E> |
SortedSet.subSet(E fromElement,
E toElement) |
Returns a view of the portion of this set whose elements range
from
fromElement, inclusive, to toElement,
exclusive. |
SortedSet<E> |
TreeSet.subSet(E fromElement,
E toElement) |
|
static <T> SortedSet<T> |
Collections.synchronizedSortedSet(SortedSet<T> s) |
Returns a synchronized (thread-safe) sorted set backed by the specified
sorted set.
|
SortedSet<E> |
NavigableSet.tailSet(E fromElement) |
Returns a view of the portion of this set whose elements are
greater than or equal to
fromElement. |
SortedSet<E> |
SortedSet.tailSet(E fromElement) |
Returns a view of the portion of this set whose elements are
greater than or equal to
fromElement. |
SortedSet<E> |
TreeSet.tailSet(E fromElement) |
|
static <T> SortedSet<T> |
Collections.unmodifiableSortedSet(SortedSet<T> s) |
Returns an unmodifiable view of the
specified sorted set.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <E> SortedSet<E> |
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type) |
Returns a dynamically typesafe view of the specified sorted set.
|
static <T> SortedSet<T> |
Collections.synchronizedSortedSet(SortedSet<T> s) |
Returns a synchronized (thread-safe) sorted set backed by the specified
sorted set.
|
static <T> SortedSet<T> |
Collections.unmodifiableSortedSet(SortedSet<T> s) |
Returns an unmodifiable view of the
specified sorted set.
|
| Constructor | Description |
|---|---|
PriorityQueue(SortedSet<? extends E> c) |
Creates a
PriorityQueue containing the elements in the
specified sorted set. |
TreeSet(SortedSet<E> s) |
Constructs a new tree set containing the same elements and
using the same ordering as the specified sorted set.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
ConcurrentSkipListSet<E> |
A scalable concurrent
NavigableSet implementation based on
a ConcurrentSkipListMap. |
| Constructor | Description |
|---|---|
ConcurrentSkipListSet(SortedSet<E> s) |
Constructs a new set containing the same elements and using the
same ordering as the specified sorted set.
|
| Modifier and Type | Method | Description |
|---|---|---|
SortedSet<String> |
TIFFTagSet.getTagNames() |
Retrieves an unmodifiable lexicographically increasing set of tag names.
|
SortedSet<Integer> |
TIFFTagSet.getTagNumbers() |
Retrieves an unmodifiable numerically increasing set of tag numbers.
|
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
| Web Proxy Viewer | New URL | Original Page |