All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.DividesInteger

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

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

DividesInteger is a binary function object that assumes that both of its operands are instances of Integer and returns the first operand divided by the second operand.

See Also:
DividesNumber

Constructor Index

 o DividesInteger()

Method Index

 o execute(Object, Object)
Return the result of dividing the first operand by the second operand.

Constructors

 o DividesInteger
  public DividesInteger()

Methods

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