A method that should be called from every well-designed equals method that is open to be overridden in a subclass.
A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.
the value being probed for possible equality
true if this instance can possibly equal that
, otherwise false
The size of this product.
The size of this product.
for a product A(x_1, ..., x_k)
, returns k
The nth element of this product, 0-based.
The nth element of this product, 0-based. In other words, for a
product A(x_1, ..., x_k)
, returns x_(n+1) where 0 < n < k.
the index of the element to return
the element n
elements after the first element
The direct child trees of this tree EmptyTrees are always omitted.
The direct child trees of this tree EmptyTrees are always omitted. Lists are collapsed.
Like setType
, but if this is a previously empty TypeTree
that fact is remembered so that resetType will snap back.
Like setType
, but if this is a previously empty TypeTree
that fact is remembered so that resetType will snap back.
The universal equality method defined in AnyRef
.
The hashCode method for reference types.
An iterator over all the elements of this product.
An iterator over all the elements of this product.
in the default implementation, an Iterator[Any]
A string used in the toString
methods of derived classes.
A string used in the toString
methods of derived classes.
Implementations may override this method to prepend a string prefix
to the result of toString methods.
in the default implementation, the empty string
Set tpe to give tp
and return this.
Set tpe to give tp
and return this.
Creates a String representation of this object.
use productIterator instead