java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.NavigableSet<K>
, java.util.Set<K>
, java.util.SortedSet<K>
public class ReadOnlyNavigableSet<K>
extends java.lang.Object
implements java.util.NavigableSet<K>
Constructor | Description |
---|---|
ReadOnlyNavigableSet(java.util.NavigableSet<K> s) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(K arg0) |
|
boolean |
addAll(java.util.Collection<? extends K> arg0) |
|
K |
ceiling(K arg0) |
|
void |
clear() |
|
java.util.Comparator<? super K> |
comparator() |
|
boolean |
contains(java.lang.Object arg0) |
|
boolean |
containsAll(java.util.Collection<?> arg0) |
|
java.util.Iterator<K> |
descendingIterator() |
|
java.util.NavigableSet<K> |
descendingSet() |
|
K |
first() |
|
K |
floor(K arg0) |
|
java.util.SortedSet<K> |
headSet(K arg0) |
|
java.util.NavigableSet<K> |
headSet(K arg0,
boolean arg1) |
|
K |
higher(K arg0) |
|
boolean |
isEmpty() |
|
java.util.Iterator<K> |
iterator() |
|
K |
last() |
|
K |
lower(K arg0) |
|
K |
pollFirst() |
|
K |
pollLast() |
|
boolean |
remove(java.lang.Object arg0) |
|
boolean |
removeAll(java.util.Collection<?> arg0) |
|
boolean |
retainAll(java.util.Collection<?> arg0) |
|
int |
size() |
|
java.util.NavigableSet<K> |
subSet(K arg0,
boolean arg1,
K arg2,
boolean arg3) |
|
java.util.SortedSet<K> |
subSet(K arg0,
K arg1) |
|
java.util.SortedSet<K> |
tailSet(K arg0) |
|
java.util.NavigableSet<K> |
tailSet(K arg0,
boolean arg1) |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] arg0) |
public ReadOnlyNavigableSet(java.util.NavigableSet<K> s)
public java.util.Iterator<K> descendingIterator()
descendingIterator
in interface java.util.NavigableSet<K>
public java.util.NavigableSet<K> descendingSet()
descendingSet
in interface java.util.NavigableSet<K>
public java.util.NavigableSet<K> headSet(K arg0, boolean arg1)
headSet
in interface java.util.NavigableSet<K>
public java.util.Iterator<K> iterator()
public java.util.NavigableSet<K> subSet(K arg0, boolean arg1, K arg2, boolean arg3)
subSet
in interface java.util.NavigableSet<K>
public java.util.NavigableSet<K> tailSet(K arg0, boolean arg1)
tailSet
in interface java.util.NavigableSet<K>
public java.util.Comparator<? super K> comparator()
comparator
in interface java.util.SortedSet<K>
public boolean add(K arg0)
public boolean addAll(java.util.Collection<? extends K> arg0)
public void clear()
public boolean contains(java.lang.Object arg0)
public boolean containsAll(java.util.Collection<?> arg0)
public boolean isEmpty()
public boolean remove(java.lang.Object arg0)
public boolean removeAll(java.util.Collection<?> arg0)
public boolean retainAll(java.util.Collection<?> arg0)
public int size()
public java.lang.Object[] toArray()