Class LongUtils


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

      • longFromByteArray

        public static long longFromByteArray​(byte[] bytes,
                                             int offset)
      • byteArrayFromLong

        public static byte[] byteArrayFromLong​(long l)
      • longIntoByteArray

        public static void longIntoByteArray​(long l,
                                             int offset,
                                             byte[] bytes)
      • longFromByteArrayLittleEndian

        public static long longFromByteArrayLittleEndian​(byte[] bytes,
                                                         int offset)
      • longIntoByteArrayLittleEndian

        public static void longIntoByteArrayLittleEndian​(long l,
                                                         int offset,
                                                         byte[] bytes)
      • fullHashLong

        public static int fullHashLong​(long l)
      • hashLong

        public static int hashLong​(long l)