ca.uottawa.balie
Class CombinationGenerator

java.lang.Object
  extended by ca.uottawa.balie.CombinationGenerator

public class CombinationGenerator
extends java.lang.Object


Constructor Summary
CombinationGenerator(int n, int r)
           
 
Method Summary
 int[] getNext()
           
 java.math.BigInteger getNumLeft()
           
 java.math.BigInteger getTotal()
           
 boolean hasMore()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinationGenerator

public CombinationGenerator(int n,
                            int r)
Method Detail

reset

public void reset()

getNumLeft

public java.math.BigInteger getNumLeft()

hasMore

public boolean hasMore()

getTotal

public java.math.BigInteger getTotal()

getNext

public int[] getNext()