public interface Enumerator<T>
Modifier and Type | Method and Description |
---|---|
int |
size() |
boolean |
visitSolution(int index,
BiConsumer<String,T> visitor)
Provides access to a solution, allowing it to be printed, put into a map, etc.
|
int size()
boolean visitSolution(int index, BiConsumer<String,T> visitor)
index
- the index of the solutionvisitor
- a consumer for each key/value pair in the solutionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.