public final class MultiplicationOf extends NumberEnvelope
Here is how you can use it to multiply numbers:
int multiplication = new MultiplicationOf(1, 2, 3, 4).intValue(); long multiplication = new MultiplicationOf(1L, 2L, 3L).longValue(); double multiplication = new MultiplicationOf(2.3, 3.4, 4.0).doubleValue();
There is no thread-safety guarantee.
Constructor and Description |
---|
MultiplicationOf(Iterable<? extends Number> src)
Ctor.
|
MultiplicationOf(Number arg,
Number... src)
Ctor.
|
byteValue, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue, toString
Copyright © 2017–2022 Cactoos. All rights reserved.