Class jgl.GreaterInteger
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jgl.GreaterInteger

java.lang.Object
   |
   +----jgl.GreaterInteger

public final class GreaterInteger
extends Object
implements BinaryPredicate
GreaterInteger is a binary predicate that assumes that both of its operands are instances of Integer and returns true if the first operand is greater than the second operand.


Constructor Index

 o GreaterInteger()

Method Index

 o execute(Object, Object)
Return true if the first operand is greater than the second operand.

Constructors

 o GreaterInteger
  public GreaterInteger()

Methods

 o execute
  public boolean execute(Object first,
                         Object second)
Return true if the first operand is greater than 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