Class Primitives


  • public final class Primitives
    extends java.lang.Object
    Utilities for working with primitives types and values.
    Author:
    Jonathan Locke
    • Constructor Summary

      Constructors 
      Constructor Description
      Primitives()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int hashCode​(long value)
      Returns a basic integer hash code for a long value.
      • Methods inherited from class java.lang.Object

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

      • Primitives

        public Primitives()
    • Method Detail

      • hashCode

        public static int hashCode​(long value)
        Returns a basic integer hash code for a long value.
        Parameters:
        value - The long value
        Returns:
        The hash code