Package com.complexible.common.collect
Interface SkippingIterable<T>
- All Known Subinterfaces:
PartitionedSkippingIterable<T>
public interface SkippingIterable<T>
Interface for ordered data sources that returns a skipping iterator.
- Since:
- 0.7
- Version:
- 0.7
- Author:
- Evren Sirin
-
Method Summary
Modifier and TypeMethodDescriptionThe comparator associated with this iterable that also determines the ordering of the elements in the iterator.iterator()Returns a skipping iterator over a set of elements of type T.default SkippingIterator<T> iterator(CancelCheck check) Returns a skipping iterator over a set of elements of type T.Iterate over the elements in thisSkippingIterable, starting at the given elementdefault SkippingIterator<T> iterator(T theBegin, CancelCheck check) Iterate over the elements in thisSkippingIterable, starting at the given elementIterate over the elements in thisSkippingIterable, starting and ending at the given elementsdefault SkippingIterator<T> iterator(T theBegin, T theEnd, CancelCheck theCheck) Iterate over the elements in thisSkippingIterable, starting and ending at the given elements
-
Method Details
-
comparator
Comparator<T> comparator()The comparator associated with this iterable that also determines the ordering of the elements in the iterator.- Returns:
- the comparator
-
iterator
Returns a skipping iterator over a set of elements of type T. -
iterator
Iterate over the elements in thisSkippingIterable, starting and ending at the given elements- Parameters:
theBegin- the element to begin iterating attheEnd- the element to stop iterating at- Returns:
- the iterator
-
iterator
Iterate over the elements in thisSkippingIterable, starting at the given element- Parameters:
theBegin- the element to begin iteration at- Returns:
- the iterator
-
iterator
Returns a skipping iterator over a set of elements of type T. -
iterator
Iterate over the elements in thisSkippingIterable, starting and ending at the given elements- Parameters:
theBegin- the element to begin iterating attheEnd- the element to stop iterating at- Returns:
- the iterator
-
iterator
Iterate over the elements in thisSkippingIterable, starting at the given element- Parameters:
theBegin- the element to begin iteration at- Returns:
- the iterator
-