public interface SortedSetService<E> extends SetService<E>
CollectionService.IterationController
Modifier and Type | Method and Description |
---|---|
E |
first()
Returns the first (lowest) element currently in this set.
|
E |
last()
Returns the last (highest) element currently in this set.
|
SortedSetService<E> |
subSet(E fromElement,
E toElement)
Returns a view over a portion of this set.
|
clear, contains, remove, size
add, atomic, comparator, forEach, iterator, removeIf, trySplit
E first()
E last()
SortedSetService<E> subSet(E fromElement, E toElement)
fromElement
- the low endpoint inclusive or null
if none (head set).toElement
- the high endpoint exclusive or null
if none (tail set).Copyright © 2005-2013 Javolution. All Rights Reserved.