public interface SortedSetService<E> extends SetService<E>, SortedSet<E>
| Modifier and Type | Method and Description |
|---|---|
SortedSetService<E> |
headSet(E toElement) |
SortedSetService<E>[] |
split(int n,
boolean updateable)
Returns
n distinct parts of this object. |
SortedSetService<E> |
subSet(E fromElement,
E toElement) |
SortedSetService<E> |
tailSet(E fromElement) |
clone, comparatorperform, updatecomparator, first, lastSortedSetService<E> subSet(E fromElement, E toElement)
SortedSetService<E>[] split(int n, boolean updateable)
Splittablen distinct parts of this object.
This method may return an array of size less than n
(e.g. an array of size one if this object cannot split).split in interface SetService<E>split in interface Splittable<CollectionService<E>>n - the number of parts.updateable - true if the returned parts can be updated
concurrently; false otherwise.Copyright © 2017. All rights reserved.