Class NumberSetPermutationEnumeration

java.lang.Object
com.espertech.esper.common.internal.collection.NumberSetPermutationEnumeration
All Implemented Interfaces:
Enumeration<int[]>

public class NumberSetPermutationEnumeration extends Object implements Enumeration<int[]>
Based on the PermutationEnumeration this enumeration provides, among a set of supplied integer values, all permutations of order these values can come in, ie. Example: {0, 2, 3} results in 6 enumeration values ending in {3, 2, 0}.
  • Constructor Details

    • NumberSetPermutationEnumeration

      public NumberSetPermutationEnumeration(int[] numberSet)
      Ctor.
      Parameters:
      numberSet - - set of integer numbers to permutate and provide each combination.
  • Method Details