Class VarLongEncoding


  • public final class VarLongEncoding
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int encodedVLongSize​(long val)
      The values are equivalent to: BitUtil.ceilDiv(64 - Long.numberOfLeadingZeros(nodeCount - 1), 7)
      • Methods inherited from class java.lang.Object

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

      • encodedVLongSize

        public static int encodedVLongSize​(long val)
        The values are equivalent to: BitUtil.ceilDiv(64 - Long.numberOfLeadingZeros(nodeCount - 1), 7)