Package org.cactoos.number
Class MultiplicationOf
- java.lang.Object
-
- java.lang.Number
-
- org.cactoos.number.NumberEnvelope
-
- org.cactoos.number.MultiplicationOf
-
- All Implemented Interfaces:
Serializable
public final class MultiplicationOf extends NumberEnvelope
Multiplication result of numbers.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.
- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiplicationOf(Iterable<? extends Number> src)
Ctor.MultiplicationOf(Number arg, Number... src)
Ctor.
-
Method Summary
-
Methods inherited from class org.cactoos.number.NumberEnvelope
byteValue, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue, toString
-
-