public interface CombinatorialIterator<T> extends Iterator<T>, Iterable<T>, Serializable
| Modifier and Type | Method and Description |
|---|---|
T |
current()
Returns the reference on the current iteration element.
|
default Iterator<T> |
iterator() |
void |
reset()
Resets the iteration
|
default Stream<T> |
stream()
Return a stream of combinations
|
default List<T> |
toList()
Write all elements of this iterable to list
|
forEachRemaining, hasNext, next, removeforEach, spliteratorvoid reset()
T current()
Copyright © 2017. All rights reserved.