Class EnumValuePartitioner


  • public class EnumValuePartitioner
    extends java.lang.Object
    This is a static utility class used to partition a set of long values into as many non-intersecting BitGroups as possible.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<BitGroup> partition​(long[] values)
      Partition the given values into a list of non-intersecting BitGroups.
      • Methods inherited from class java.lang.Object

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

      • EnumValuePartitioner

        public EnumValuePartitioner()
    • Method Detail

      • partition

        public static java.util.List<BitGroup> partition​(long[] values)
        Partition the given values into a list of non-intersecting BitGroups.
        Parameters:
        values - the values to be partitioned.
        Returns:
        a list of BitGroups with non-intersecting bits.