All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.MinusInteger

java.lang.Object
   |
   +----COM.objectspace.jgl.MinusInteger

public final class MinusInteger
extends Object
implements BinaryFunction
Note: MinusInteger is deprecated.

MinusInteger is a binary function object that assumes that both of its operands are instances of Integer and returns the second operand subtraced from the first operand.

See Also:
MinusNumber

Constructor Index

 o MinusInteger()

Method Index

 o execute(Object, Object)
Return the result of subtracting the second operand from the first operand.

Constructors

 o MinusInteger
  public MinusInteger()

Methods

 o execute
  public Object execute(Object first,
                        Object second)
Return the result of subtracting the second operand from the first 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