Interface EnumeratingIterable<T>
-
- Type Parameters:
T
- type
- All Known Implementing Classes:
EnumeratingIterable.EmptyIterable
public interface EnumeratingIterable<T> extends Iterable<List<T>>
Iterable that provides special iterators of typeEnumeratingIterator
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EnumeratingIterable.EmptyIterable<T>
An implementation ofEnumeratingIterable
that is optimized to work for empty input sets.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T> EnumeratingIterable<T>
emptyIterable()
EnumeratingIterator<T>
iterator()
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
emptyIterable
static <T> EnumeratingIterable<T> emptyIterable()
-
-