public class PermutationCounter extends Object
Constructor and Description |
---|
PermutationCounter(int numDigits) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static Set<List<String>> |
computeMissingRegGroupAoIdsInCluster(ActivityOfferingClusterInfo cluster,
List<RegistrationGroupInfo> currentRGs) |
int |
get(int index) |
int |
getMaxSizeAtIndex(int index) |
void |
increment() |
boolean |
isValid() |
int |
numIterations()
Number of iterations to go through the entire counter.
|
void |
setMaxSizeAtIndex(int maxSize,
int index) |
int |
size() |
public PermutationCounter(int numDigits)
public boolean isValid()
public void setMaxSizeAtIndex(int maxSize, int index)
maxSize
- The max value for this "digit" is maxSize - 1index
- The digit position with 0 as the most significant digitpublic int size()
public void clear()
public int getMaxSizeAtIndex(int index)
public int get(int index)
public void increment()
public int numIterations()
public static Set<List<String>> computeMissingRegGroupAoIdsInCluster(ActivityOfferingClusterInfo cluster, List<RegistrationGroupInfo> currentRGs) throws DataValidationErrorException
DataValidationErrorException
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.