Class Bitfield.Factory

  • Enclosing interface:

    public static class Bitfield.Factory
    extends Object
    Simple Bitfield factory for returning the efficient implementation.
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • create

        public static Bitfield create​(int storageBitSize)
        Creates am efficient Bitfield instance based on the requested storageBitSize.

        Implementation returns a plain 32 bit integer field implementation for storageBitSize ≤ 32 bits or an 32 bit integer array implementation otherwise.