public class ContainerSortedSet<E> extends ContainerSet<E> implements IContainerSortedSet<E>
container sorted set
.AbstractDelegator.DelegatingIterator
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<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
spliterator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
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-2015 Eike Stepper (Berlin, Germany) and others.