Class BitSetHelper


  • public class BitSetHelper
    extends java.lang.Object
    Class BitSetHelper provides very limited functionality of BitSet used by TransactionStore.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long[] flip​(long[] bits, int bitIndex)  
      static boolean get​(long[] bits, int bitIndex)  
      static int length​(long[] bits)  
      static int nextClearBit​(long[] bits, int bitIndex)  
      static int nextSetBit​(long[] bits, int bitIndex)  
      • Methods inherited from class java.lang.Object

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

      • get

        public static boolean get​(long[] bits,
                                  int bitIndex)
      • flip

        public static long[] flip​(long[] bits,
                                  int bitIndex)
      • nextSetBit

        public static int nextSetBit​(long[] bits,
                                     int bitIndex)
      • nextClearBit

        public static int nextClearBit​(long[] bits,
                                       int bitIndex)
      • length

        public static int length​(long[] bits)