Class LongBits

  • All Implemented Interfaces:
    com.google.common.base.Function<java.lang.Iterable<? extends java.lang.Object>,​LongBits.LongPositions>, java.util.function.Function<java.lang.Iterable<? extends java.lang.Object>,​LongBits.LongPositions>

    public final class LongBits
    extends java.lang.Object
    implements com.google.common.base.Function<java.lang.Iterable<? extends java.lang.Object>,​LongBits.LongPositions>
    Structure to calculate bit packing
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int BITS_IN_LONG  
    • Constructor Summary

      Constructors 
      Constructor Description
      LongBits()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LongBits.LongPositions apply​(java.lang.Iterable<? extends java.lang.Object> input)  
      LongBits.LongPositions forIterable​(java.lang.Iterable<? extends java.lang.Object> input, int bitPerLong)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.common.base.Function

        equals
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • LongBits

        public LongBits()
    • Method Detail

      • apply

        public LongBits.LongPositions apply​(java.lang.Iterable<? extends java.lang.Object> input)
        Specified by:
        apply in interface com.google.common.base.Function<java.lang.Iterable<? extends java.lang.Object>,​LongBits.LongPositions>
        Specified by:
        apply in interface java.util.function.Function<java.lang.Iterable<? extends java.lang.Object>,​LongBits.LongPositions>
      • forIterable

        public LongBits.LongPositions forIterable​(java.lang.Iterable<? extends java.lang.Object> input,
                                                  int bitPerLong)