Package | Description |
---|---|
java.util |
Modifier and Type | Class and Description |
---|---|
class |
TreeSet |
Modifier and Type | Method and Description |
---|---|
SortedSet |
SortedSet.headSet(Object toElement) |
SortedSet |
TreeSet.headSet(Object toV) |
SortedSet |
SortedSet.subSet(Object fromElement,
Object toElement) |
SortedSet |
TreeSet.subSet(Object fromV,
Object toV) |
static SortedSet |
Collections.synchronizedSortedSet(SortedSet set)
Returns a wrapper on the specified sorted set which synchronizes all
access to the sorted set.
|
SortedSet |
SortedSet.tailSet(Object fromElement) |
SortedSet |
TreeSet.tailSet(Object fromV) |
static SortedSet |
Collections.unmodifiableSortedSet(SortedSet set)
Returns a wrapper on the specified sorted set which throws an
UnsupportedOperationException whenever an attempt is made to
modify the sorted set. |
Modifier and Type | Method and Description |
---|---|
static SortedSet |
Collections.synchronizedSortedSet(SortedSet set)
Returns a wrapper on the specified sorted set which synchronizes all
access to the sorted set.
|
static SortedSet |
Collections.unmodifiableSortedSet(SortedSet set)
Returns a wrapper on the specified sorted set which throws an
UnsupportedOperationException whenever an attempt is made to
modify the sorted set. |
Constructor and Description |
---|
TreeSet(SortedSet s) |