public class ContainerSortedSet<E> extends ContainerSet<E> implements IContainerSortedSet<E>
container sorted set
.AbstractDelegator.DelegatingIterator
IContainer.Modifiable<E>
Constructor and Description |
---|
ContainerSortedSet(SortedSet<E> delegate) |
Modifier and Type | Method and Description |
---|---|
Comparator<? super E> |
comparator() |
E |
first() |
SortedSet<E> |
getDelegate() |
SortedSet<E> |
headSet(E toElement) |
E |
last() |
SortedSet<E> |
subSet(E fromElement,
E toElement) |
SortedSet<E> |
tailSet(E fromElement) |
add, addAll, clear, contains, containsAll, equals, getElements, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
createEvent, dispatchEvent, fireAddedEvent, fireRemovedEvent
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
public SortedSet<E> getDelegate()
getDelegate
in interface IContainerCollection<E>
getDelegate
in interface IContainerSet<E>
getDelegate
in interface IContainerSortedSet<E>
getDelegate
in class ContainerSet<E>
public Comparator<? super E> comparator()
comparator
in interface SortedSet<E>
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.