*= (multiply assign) operator
The right-associative, binary infix
*= operator multiplies it's left-hand operand
by the amount given by its right-hand operand and assigns the result to the
variable Integer num = 1; num *= 2; // double num num *= num; // square num
*= operator is defined as follows:
lhs = lhs.times(rhs)
lhs is evaluated only once.
See the language specification for more details.
The result type of the
*= operator is the same as the type of its right hand operand.