Class TransformUtils

    • Constructor Detail

      • TransformUtils

        public TransformUtils()
    • Method Detail

      • transformFromDouble

        public static long transformFromDouble​(double n)
        Transforms a double into a form where it can be compared as unsigned bytes without decoding.
      • transformFromLong

        public static long transformFromLong​(long n)
        Transforms a long into a form where it can be compared as unsigned bytes without decoding.
      • detransformToLong

        public static long detransformToLong​(long bits)
        Reverse the transformFromLong(long) function.
      • transformFromFloat

        public static int transformFromFloat​(float n)
        Transforms a float into a form where it can be compared as unsigned bytes without decoding.