Class BitMap4


  • public final class BitMap4
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BitMap4​(byte singleByte)  
      BitMap4​(byte[] buffer, int pos, int numBits)
      "readFrom buffer" constructor
      BitMap4​(int numBits)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] bytes()  
      byte getByte​(int index)  
      boolean isFalse​(int bit)  
      boolean isTrue​(int bit)  
      int marshalledLength()  
      void set​(int bit, boolean val)  
      void setFalse​(int bit)  
      void setTrue​(int bit)  
      void writeTo​(byte[] bytes, int pos)  
      • Methods inherited from class java.lang.Object

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

      • BitMap4

        public BitMap4​(int numBits)
      • BitMap4

        public BitMap4​(byte[] buffer,
                       int pos,
                       int numBits)
        "readFrom buffer" constructor
      • BitMap4

        public BitMap4​(byte singleByte)
    • Method Detail

      • isTrue

        public boolean isTrue​(int bit)
      • isFalse

        public boolean isFalse​(int bit)
      • marshalledLength

        public int marshalledLength()
      • setFalse

        public void setFalse​(int bit)
      • set

        public void set​(int bit,
                        boolean val)
      • setTrue

        public void setTrue​(int bit)
      • writeTo

        public void writeTo​(byte[] bytes,
                            int pos)
      • getByte

        public byte getByte​(int index)
      • bytes

        public byte[] bytes()