All Packages Class Hierarchy This Package Previous Next Index
Class COM.objectspace.jgl.NegateInteger
java.lang.Object
|
+----COM.objectspace.jgl.NegateInteger
- public final class NegateInteger
- extends Object
- implements UnaryFunction
Note: NegateInteger is deprecated.
NegateInteger is a unary function object that assumes that its operand is an instance of
Integer and returns its negation.
- See Also:
- NegateNumber
-
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