Class PermutationGenerator


  • public class PermutationGenerator
    extends java.lang.Object
    Author:
    Peter
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PermutationGenerator

        public PermutationGenerator​(int n)
    • Method Detail

      • reset

        public void reset()
      • getNumLeft

        public java.math.BigInteger getNumLeft()
      • getTotal

        public java.math.BigInteger getTotal()
      • hasMore

        public boolean hasMore()
      • getNext

        public int[] getNext()