Class Possibilities


  • final class Possibilities
    extends java.lang.Object
    Used to iterate over a range of possible values.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private NumberSet bitset  
      private long max  
      private long min  
      private long next  
    • Constructor Summary

      Constructors 
      Constructor Description
      Possibilities​(long min, long max, NumberSet bitset)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean hasNext()  
      (package private) long next()  
      • Methods inherited from class java.lang.Object

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

      • min

        private final long min
      • max

        private final long max
      • next

        private long next
    • Constructor Detail

      • Possibilities

        Possibilities​(long min,
                      long max,
                      NumberSet bitset)
    • Method Detail

      • hasNext

        boolean hasNext()
      • next

        long next()