Interface PackedBits

All Known Implementing Classes:
PackedBits32, PackedBits8

public interface PackedBits
Stores a set of bits inside of a array
  • Method Summary

    Modifier and Type Method Description
    int arrayLength()  
    int elementBits()  
    int get​(int which)  
    int length()  
    default void print()  
    void resize​(int totalBits)  
    void set​(int which, int value)  
    void zero()  
  • Method Details

    • get

      int get​(int which)
    • set

      void set​(int which, int value)
    • resize

      void resize​(int totalBits)
    • zero

      void zero()
    • length

      int length()
    • arrayLength

      int arrayLength()
    • elementBits

      int elementBits()
    • print

      default void print()