Class Longs


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

      Constructors 
      Constructor Description
      Longs()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long reverse​(long i)  
      static long reverseBytes​(long i)  
      static long rotateLeft​(long i, int distance)  
      static long rotateRight​(long i, int distance)  
      static java.lang.Long valueOf​(long value)  
      • Methods inherited from class java.lang.Object

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

      • Longs

        public Longs()
    • Method Detail

      • reverse

        public static long reverse​(long i)
      • reverseBytes

        public static long reverseBytes​(long i)
      • rotateLeft

        public static long rotateLeft​(long i,
                                      int distance)
      • rotateRight

        public static long rotateRight​(long i,
                                       int distance)
      • valueOf

        public static java.lang.Long valueOf​(long value)