|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.observable.AbstractSortedSetDecorator<E>
E - sorted set element typeabstract class AbstractSortedSetDecorator<E>
Abstract set that decorates an instance of SortedSet.
| Constructor Summary | |
|---|---|
protected |
AbstractSortedSetDecorator(SortedSet<E> sortedSet)
Create a new abstract sorted set that decorates the specified sorted set. |
| Method Summary | ||
|---|---|---|
boolean |
add(E e)
|
|
boolean |
addAll(Collection<? extends E> c)
|
|
void |
clear()
|
|
Comparator<? super E> |
comparator()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
boolean |
equals(Object o)
|
|
E |
first()
|
|
protected SortedSet<E> |
getSortedSet()
Return a reference to the sorted set this decorator decorates. |
|
int |
hashCode()
|
|
SortedSet<E> |
headSet(E toElement)
|
|
boolean |
isEmpty()
|
|
Iterator<E> |
iterator()
|
|
E |
last()
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
int |
size()
|
|
SortedSet<E> |
subSet(E fromElement,
E toElement)
|
|
SortedSet<E> |
tailSet(E fromElement)
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSortedSetDecorator(SortedSet<E> sortedSet)
sortedSet - sorted set to decorate, must not be null| Method Detail |
|---|
protected final SortedSet<E> getSortedSet()
public Comparator<? super E> comparator()
comparator in interface SortedSet<E>public E first()
first in interface SortedSet<E>public SortedSet<E> headSet(E toElement)
headSet in interface SortedSet<E>public E last()
last in interface SortedSet<E>
public SortedSet<E> subSet(E fromElement,
E toElement)
subSet in interface SortedSet<E>public SortedSet<E> tailSet(E fromElement)
tailSet in interface SortedSet<E>public boolean add(E e)
add in interface Collection<E>add in interface Set<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface Set<E>public void clear()
clear in interface Collection<E>clear in interface Set<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface Set<E>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<E>containsAll in interface Set<E>public boolean equals(Object o)
equals in interface Collection<E>equals in interface Set<E>equals in class Objectpublic int hashCode()
hashCode in interface Collection<E>hashCode in interface Set<E>hashCode in class Objectpublic boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface Set<E>public Iterator<E> iterator()
iterator in interface Iterable<E>iterator in interface Collection<E>iterator in interface Set<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface Set<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface Set<E>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<E>retainAll in interface Set<E>public int size()
size in interface Collection<E>size in interface Set<E>public Object[] toArray()
toArray in interface Collection<E>toArray in interface Set<E>public <T> T[] toArray(T[] a)
toArray in interface Collection<E>toArray in interface Set<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||