Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SortedSet | |
---|---|
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
java.util.concurrent | Utility classes commonly useful in concurrent programming. |
Uses of SortedSet in java.util |
---|
Subinterfaces of SortedSet in java.util | |
---|---|
interface |
NavigableSet<E>
A SortedSet extended with navigation methods reporting
closest matches for given search targets. |
Classes in java.util that implement SortedSet | |
---|---|
class |
TreeSet<E>
A NavigableSet implementation based on a TreeMap . |
Methods in java.util that return SortedSet | ||
---|---|---|
static
|
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type)
Returns a dynamically typesafe view of the specified sorted set. |
|
SortedSet<E> |
TreeSet.headSet(E toElement)
|
|
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.subSet(E fromElement,
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. |
|
static
|
Collections.synchronizedSortedSet(SortedSet<T> s)
Returns a synchronized (thread-safe) sorted set backed by the specified sorted set. |
|
SortedSet<E> |
TreeSet.tailSet(E fromElement)
|
|
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. |
|
static
|
Collections.unmodifiableSortedSet(SortedSet<T> s)
Returns an unmodifiable view of the specified sorted set. |
Methods in java.util with parameters of type SortedSet | ||
---|---|---|
static
|
Collections.checkedSortedSet(SortedSet<E> s,
Class<E> type)
Returns a dynamically typesafe view of the specified sorted set. |
|
static
|
Collections.synchronizedSortedSet(SortedSet<T> s)
Returns a synchronized (thread-safe) sorted set backed by the specified sorted set. |
|
static
|
Collections.unmodifiableSortedSet(SortedSet<T> s)
Returns an unmodifiable view of the specified sorted set. |
Constructors in java.util with parameters of type SortedSet | |
---|---|
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. |
Uses of SortedSet in java.util.concurrent |
---|
Classes in java.util.concurrent that implement SortedSet | |
---|---|
class |
ConcurrentSkipListSet<E>
A scalable concurrent NavigableSet implementation based on
a ConcurrentSkipListMap . |
Constructors in java.util.concurrent with parameters of type SortedSet | |
---|---|
ConcurrentSkipListSet(SortedSet<E> s)
Constructs a new set containing the same elements and using the same ordering as the specified sorted set. |
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the