- All Implemented Interfaces:
Permutator
, java.util.Iterator<byte[]>
public class RangePermutator
extends java.lang.Object
implements Permutator
This is a facility class that iterates through (maxP1 - minP1 + 1) permutations one at
a time. When the last element of the K-th permutation is produced, the next element is
the first element of the (K+1)-th permutation.
Each permutation iteration consists of two classes with a fixed total number of elements.
For example, an instance of this class created as new PermutationRangeIterator(8, 0, 8)
would generate all combinations of 8 bits.