Class CombinationGenerator


  • public class CombinationGenerator
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] getNext()  
      java.math.BigInteger getNumLeft()  
      java.math.BigInteger getTotal()  
      boolean hasNext()  
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, 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()
      • hasNext

        public boolean hasNext()
      • getTotal

        public java.math.BigInteger getTotal()
      • getNext

        public int[] getNext()