Class BitUtils


  • public class BitUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BitUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int abs​(int a_)  
      static long abs​(long a_)  
      static long combineInts​(int lowInt, int highInt)  
      static int getHighInt​(long key)  
      static int getLowInt​(long key)  
      static long getLowLong​(long key)  
      static void main​(java.lang.String[] argv)  
      static long max​(long a_, long b)  
      static long min​(long a_, long b)  
      static long setHighInt​(long key, int i)  
      static long setLowInt​(long key, int i)  
      • Methods inherited from class java.lang.Object

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

      • BitUtils

        public BitUtils()
    • Method Detail

      • getHighInt

        public static int getHighInt​(long key)
      • abs

        public static int abs​(int a_)
      • abs

        public static long abs​(long a_)
      • getLowInt

        public static int getLowInt​(long key)
      • getLowLong

        public static long getLowLong​(long key)
      • setLowInt

        public static long setLowInt​(long key,
                                     int i)
      • setHighInt

        public static long setHighInt​(long key,
                                      int i)
      • max

        public static long max​(long a_,
                               long b)
      • min

        public static long min​(long a_,
                               long b)
      • combineInts

        public static long combineInts​(int lowInt,
                                       int highInt)
      • main

        public static void main​(java.lang.String[] argv)