Class CompactArrayUtil


  • public class CompactArrayUtil
    extends java.lang.Object
    • Method Detail

      • createCompactArrayWithPadding

        public static long[] createCompactArrayWithPadding​(int bitsPerEntry,
                                                           int entries,
                                                           java.util.function.IntToLongFunction valueGetter)
      • iterateCompactArrayWithPadding

        public static void iterateCompactArrayWithPadding​(int bitsPerEntry,
                                                          int entries,
                                                          long[] data,
                                                          BiIntConsumer consumer)
      • createCompactArray

        public static long[] createCompactArray​(int bitsPerEntry,
                                                int entries,
                                                java.util.function.IntToLongFunction valueGetter)
      • iterateCompactArray

        public static void iterateCompactArray​(int bitsPerEntry,
                                               int entries,
                                               long[] data,
                                               BiIntConsumer consumer)