X - the type of elements maintained by this setpublic static interface ExtendedSet.ExtendedIterator<X> extends Iterator<X>
Iterator interface that allows to "skip"
some elements of the set| Modifier and Type | Method and Description |
|---|---|
void |
skipAllBefore(X element)
Skips all the elements before the the specified element, so that
Iterator.next() gives the given element or, if it does not
exist, the element immediately after according to the sorting
provided by this SortedSet instance. |
void skipAllBefore(X element)
Iterator.next() gives the given element or, if it does not
exist, the element immediately after according to the sorting
provided by this SortedSet instance.
If element is less than the next element, it does
nothing
element - first element to not skipCopyright © 2016. All rights reserved.