Class NumberSetShiftGroupEnumeration
java.lang.Object
com.espertech.esper.common.internal.collection.NumberSetShiftGroupEnumeration
- All Implemented Interfaces:
Enumeration<int[]>
Enumeration that first returns a round-shift-left of all numbers
and when that is exhausted it returns number sets using grouped algo until exhausted.
-
Constructor Details
-
NumberSetShiftGroupEnumeration
public NumberSetShiftGroupEnumeration(int[] numberSet) Ctor.- Parameters:
numberSet
- - set of integer numbers to permutate and provide each combination.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<int[]>
-
nextElement
public int[] nextElement()- Specified by:
nextElement
in interfaceEnumeration<int[]>
-