Number Stream
The NumberStream
is a Stream
that provides number-related methods.
add()
Returns a NumberStream
that adds the given value to the produced output.
multiply()
Returns a NumberStream
that multiplies the given value with the produced output.
subtract()
Returns a NumberStream
that subtracts the given value from the produced output.
divide()
Returns a NumberStream
that divides the produced output to the given value.
mode()
Returns a NumberStream
that calculates the mode of the produced value with the given value.
Last updated