Class jgl.ModulusInteger
All Packages Class Hierarchy This Package Previous Next Index
Class jgl.ModulusInteger
java.lang.Object
|
+----jgl.ModulusInteger
- public final class ModulusInteger
- extends Object
- implements BinaryFunction
ModulusInteger is a binary function object that assumes that both of its operands are
instances of Integer and returns the first operand modulus the second operand.
-
ModulusInteger()
-
-
execute(Object, Object)
- Return the first operand modulus the second operand.
ModulusInteger
public ModulusInteger()
execute
public Object execute(Object first,
Object second)
- Return the first operand modulus the second operand.
- Parameters:
- first - The first operand, which must be an instance of Integer.
- second - The second operand, which must be an instance of Integer.
- Returns:
- first % second
All Packages Class Hierarchy This Package Previous Next Index