Java org.apache.commons.collections4.iterators PermutationIterator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections4.iterators PermutationIterator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections4.iterators PermutationIterator.

The text is from its open source code.

Constructor

PermutationIterator(final Collection coll)
Standard constructor for this class.

Method

voidforEachRemaining(Consumer action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception.
booleanhasNext()
Indicates if there are more permutation available.
Listnext()
Returns the next permutation of the input collection.