Class jgl.NegateInteger
All Packages Class Hierarchy This Package Previous Next Index
Class jgl.NegateInteger
java.lang.Object
|
+----jgl.NegateInteger
- public final class NegateInteger
- extends Object
- implements UnaryFunction
NegateInteger is a unary function object that assumes that its operand is an instance of
Integer and returns its negation.
- See Also:
- BinaryNot
-
NegateInteger()
-
-
execute(Object)
- Return the negation of my operand.
NegateInteger
public NegateInteger()
execute
public Object execute(Object object)
- Return the negation of my operand.
- Parameters:
- object - The operand, which must be an instance of Integer.
- Returns:
- -object
All Packages Class Hierarchy This Package Previous Next Index