Interface BitArray

All Known Implementing Classes:
PaddedBitArray, Pow2BitArray, SingletonBitArray

public interface BitArray
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
    get​(int index)
     
     
    int[]
     
    void
    set​(int index, int value)
     
    int
     
    default void
    writeSizeToNetwork​(io.netty.buffer.ByteBuf buffer, int size)
    Overridden if the bit array implementation does not require size.
  • Method Details

    • set

      void set(int index, int value)
    • get

      int get(int index)
    • size

      int size()
    • writeSizeToNetwork

      default void writeSizeToNetwork(io.netty.buffer.ByteBuf buffer, int size)
      Overridden if the bit array implementation does not require size.
    • getWords

      int[] getWords()
    • getVersion

      BitArrayVersion getVersion()
    • copy

      BitArray copy()