Product

See javadoc - uk.gov.gchq.koryphe.impl.binaryoperator.Product

Available since Koryphe version 1.0.0

Calculates the product of 2 numbers

Examples

Product

Java
JSON
Full JSON
final Product product = new Product();
{
  "class" : "Product"
}
{
  "class" : "uk.gov.gchq.koryphe.impl.binaryoperator.Product"
}

Input type:

java.lang.Number

Example inputs:

Input TypeInputsResult TypeResult
java.lang.Long20 and 3java.lang.Long60
java.lang.Integer300 and 400java.lang.Integer120000
java.lang.Double0.0 and 3.0java.lang.Double0.0
java.lang.Short50 and 50java.lang.Short2500
java.lang.Short500 and 500java.lang.Short32767
java.lang.Integer-5 and 5java.lang.Integer-25
java.lang.Long20 and nulljava.lang.Long20

results matching ""

    No results matching ""