Class 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 Detail

      • MultiplicationOf

        public MultiplicationOf​(Number arg,
                                Number... src)
        Ctor.
        Parameters:
        arg - Required argument
        src - The numbers
      • MultiplicationOf

        public MultiplicationOf​(Iterable<? extends Number> src)
        Ctor.
        Parameters:
        src - The iterable