| Package | Description |
|---|---|
| java.util |
| Modifier and Type | Method and Description |
|---|---|
static <E> SortedSet<E> |
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type)
Returns a dynamically typesafe view of the specified sorted set.
|
SortedSet<E> |
SortedSet.headSet(E toElement)
Returns a view of the portion of this set whose elements are
strictly less than toElement.
|
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.
|
static <T> SortedSet<T> |
Collections.synchronizedSortedSet(SortedSet<T> s)
Returns a synchronized (thread-safe) sorted set backed by the specified
sorted set.
|
SortedSet<E> |
SortedSet.tailSet(E fromElement)
Returns a view of the portion of this set whose elements are
greater than or equal to fromElement.
|
static <T> SortedSet<T> |
Collections.unmodifiableSortedSet(SortedSet<T> s)
Returns an unmodifiable view of the specified sorted set.
|
| Modifier and Type | Method and 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 and Description |
|---|
PriorityQueue(SortedSet<? extends E> c)
Creates a
PriorityQueue containing the elements in the
specified sorted set. |
Copyright © 2013 API Design. All Rights Reserved.