Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Deprecated constructors
Attributes
- Deprecated
-
[Since version 1.1.0]
Concrete methods
We need the equals method to take account of tags as well as values.
We need the equals method to take account of tags as well as values.
Attributes
- Definition Classes
-
Any
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
Any
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
The class type value of a classOf
constant.
The class type value of a classOf
constant.
This must be a "possibly parametrized class type" according to the specification of the language. If the class is polymorphic, it may be applied (making it a proper type) or not (in which case it is not a proper type).