Class BitKey.Factory

  • Enclosing interface:
    BitKey

    public abstract static class BitKey.Factory
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static BitKey makeBitKey​(int size)
      Creates a BitKey with a capacity for a given number of bits.
      static BitKey makeBitKey​(int size, boolean init)
      Creates a BitKey with a capacity for a given number of bits.
      static BitKey makeBitKey​(java.util.BitSet bitSet)
      Creates a BitKey with the same contents as a BitSet.
      • Methods inherited from class java.lang.Object

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

      • Factory

        public Factory()
    • Method Detail

      • makeBitKey

        public static BitKey makeBitKey​(int size)
        Creates a BitKey with a capacity for a given number of bits.
        Parameters:
        size - Number of bits in key
      • makeBitKey

        public static BitKey makeBitKey​(int size,
                                        boolean init)
        Creates a BitKey with a capacity for a given number of bits.
        Parameters:
        size - Number of bits in key
        init - The default value of all bits.
      • makeBitKey

        public static BitKey makeBitKey​(java.util.BitSet bitSet)
        Creates a BitKey with the same contents as a BitSet.