Checks whether this instance can possibly equalthat.
Checks whether this instance can possibly equalthat.
A method that should be called from every well-designed equals method that is open to be overridden in a subclass. SeeProgramming in Scala, Chapter 28 for discussion and design.
the value being probed for possible equality
true if this instance can possibly equalthat, otherwise false
Checks whether this instance is equal tothat. This universal equality method is defined inAnyRef.
Checks whether this instance is equal tothat. This universal equality method is defined inAnyRef.
Calculates a hash code value for the object.
Calculates 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) returnsfalse). A degenerate implementation could always return0. However, it is required that if two objects are equal (o1.equals(o2) returnstrue) 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 theequals method.
the hash code value for this object.
The size of this product.
The size of this product.
for a productA(x,,1,,, ..., x,,k,,), returnsk
The n^th^ element of this product, 0-based. In other words, for a productA(x,,1,,, ..., x,,k,,), returnsx,,(n+1),, where0 <= n < k.
The n^th^ element of this product, 0-based. In other words, for a productA(x,,1,,, ..., x,,k,,), returnsx,,(n+1),, where0 <= n < k.
the index of the element to return
the elementn elements after the first element
if then is out of range(n < 0 || n >= productArity).
A string used in thetoString methods of derived classes. Implementations may override this method to prepend a string prefix to the result oftoString methods.
A string used in thetoString methods of derived classes. Implementations may override this method to prepend a string prefix to the result oftoString methods.
in the default implementation, the empty string
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
a string representation of the object.
The name of the nth element of this product, 0-based.
The name of the nth element of this product, 0-based. In the default implementation, an empty string.
the index of the element name to return
the name of the specified element
IndexOutOfBoundsExceptionif then is out of range(n < 0 || n >= productArity).
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
An iterator over all the elements of this product.
An iterator over all the elements of this product.
in the default implementation, anIterator[Any]