Class BitSetHelpers


  • class BitSetHelpers
    extends java.lang.Object
    This class contains some helpers for working with BitSets. These are generally not necessary in JDK7, since the BitSet.valueOf(long[]) method. However, for java-6 compatibility, we go this way.
    • Constructor Summary

      Constructors 
      Constructor Description
      BitSetHelpers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static java.util.BitSet bitSetOf​(long lowerBits, long upperBits)  
      (package private) static void convert​(long value, int bitSetOffset, java.util.BitSet bits)  
      • Methods inherited from class java.lang.Object

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

      • BitSetHelpers

        BitSetHelpers()
    • Method Detail

      • bitSetOf

        static java.util.BitSet bitSetOf​(long lowerBits,
                                         long upperBits)
      • convert

        static void convert​(long value,
                            int bitSetOffset,
                            java.util.BitSet bits)