java.lang.Object
org.zfcj.math.numbers.IntegerSubtraction
- All Implemented Interfaces:
org.zfcj.math.set.BiFunction<Integer,,Integer, Integer> org.zfcj.math.set.BinaryOperator<Integer>
A
BinaryOperator that subtracts one Integer from
another and returns the difference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApplies the function to the given input elements t and u and returns the corresponding output elementstatic IntegerSubtracts the given sutrahend from the given minued returning their difference
-
Constructor Details
-
IntegerSubtraction
public IntegerSubtraction()
-
-
Method Details
-
apply
Description copied from interface:org.zfcj.math.set.BiFunctionApplies the function to the given input elements t and u and returns the corresponding output element -
calculate
Subtracts the given sutrahend from the given minued returning their difference- Parameters:
minuend- the first integersubtrahend- the second integer- Returns:
- the difference of the given integers
-