com.espertech.esper.collection
Class NumberSetShiftGroupEnumeration

java.lang.Object
  extended by com.espertech.esper.collection.NumberSetShiftGroupEnumeration
All Implemented Interfaces:
java.util.Enumeration<int[]>

public class NumberSetShiftGroupEnumeration
extends java.lang.Object
implements java.util.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 Summary
NumberSetShiftGroupEnumeration(int[] numberSet)
          Ctor.
 
Method Summary
 boolean hasMoreElements()
           
 int[] nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberSetShiftGroupEnumeration

public NumberSetShiftGroupEnumeration(int[] numberSet)
Ctor.

Parameters:
numberSet - - set of integer numbers to permutate and provide each combination.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration<int[]>

nextElement

public int[] nextElement()
Specified by:
nextElement in interface java.util.Enumeration<int[]>

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com