Example usage for Java org.apache.commons.collections4.iterators PermutationIterator fields, constructors, methods, implement or subclass
The text is from its open source code.
PermutationIterator(final Collection extends E> coll) Standard constructor for this class. |
void | forEachRemaining(Consumer super E> action) Performs the given action for each remaining element until all elements have been processed or the action throws an exception. |
boolean | hasNext() Indicates if there are more permutation available. |
List | next() Returns the next permutation of the input collection. |