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

Constructor Index

 o NegateInteger()

Method Index

 o execute(Object)
Return the negation of my operand.

Constructors

 o NegateInteger
  public NegateInteger()

Methods

 o 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