Class BitArray128

    • Field Detail

      • sizeAfterLastBitSet

        protected char sizeAfterLastBitSet
    • Constructor Detail

      • BitArray128

        public BitArray128()
      • BitArray128

        public BitArray128​(int index)
      • BitArray128

        public BitArray128​(BitArray128 f)
        Deep copy
        Parameters:
        f -
    • Method Detail

      • copyIntoThis

        public void copyIntoThis​(IBitArray orign)
        Deep copy The index is not copied
        Specified by:
        copyIntoThis in interface IBitArray
        Parameters:
        orign -
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface IBitArray
        Overrides:
        equals in class java.lang.Object
      • isBitSet

        public boolean isBitSet​(int i)
        Specified by:
        isBitSet in interface IBitArray
      • setBit

        public void setBit​(int i)
        Specified by:
        setBit in interface IBitArray
      • unsetBit

        public void unsetBit​(int i)
      • getSizeAfterLastBitSet

        public int getSizeAfterLastBitSet()
        Specified by:
        getSizeAfterLastBitSet in interface IBitArray
        Returns:
        the sizeAfterLastBitSet
      • reset

        public void reset()
        Specified by:
        reset in interface IBitArray
      • getL1

        public long getL1()
        Returns:
        the l1
      • setL1

        public void setL1​(long l1)
        Parameters:
        l1 - the l1 to set
      • getL2

        public long getL2()
        Returns:
        the l2
      • setL2

        public void setL2​(long l2)
        Parameters:
        l2 - the l2 to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringBinary

        public java.lang.String toStringBinary()
      • read

        public static BitArray128 read​(java.io.InputStream s)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • write2String

        public java.lang.String write2String()
        Specified by:
        write2String in interface IBitArray
      • parseLong

        public static long parseLong​(java.io.InputStream s)
                              throws java.io.IOException
        Throws:
        java.io.IOException