Class Properties.Long

    • Constructor Summary

      Constructors 
      Constructor Description
      Long​(long value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Compares this object to the specified object.
      int hashCode()
      Returns a hash code for this Long.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Long

        public Long​(long value)
    • Method Detail

      • hashCode

        public int hashCode()
        Returns a hash code for this Long. The result is the exclusive OR of the two halves of the primitive long value held by this Long object. That is, the hashcode is the value of the expression:
         (int) (this.value ˆ (this.value >>> 32))
         
        Overrides:
        hashCode in class java.lang.Object
        Since:
        TotalCross 1.25
      • equals

        public boolean equals​(java.lang.Object obj)
        Compares this object to the specified object. The result is true if and only if the argument is not null and is a Long object that contains the same long value as this object.
        Overrides:
        equals in class java.lang.Object
        Since:
        TotalCross 1.25