Abstraction of types which support a binary addition
operator x + y
. For numeric types, this
is just familiar numeric addition. For String, it
is string concatenation.
In general, the addition operation should be a binary associative operation.
Methods | |
plus | Source Code shared formal Other plus(Other other) The result of adding the given value to this value. This operation should never perform any kind of mutation upon either the receiving value or the argument value. |
Inherited Methods |
Methods inherited from: Object |