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
     
    int
     
    int
    get(int which)
     
    int
     
    default void
     
    void
    resize(int totalBits)
     
    void
    set(int which, int value)
     
    void
     
  • 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()