FlexOr.container
Class IntegerGreaterThan

java.lang.Object
  extended by FlexOr.container.IntegerGreaterThan
All Implemented Interfaces:
BinaryPredicate

public class IntegerGreaterThan
extends java.lang.Object
implements BinaryPredicate

Compare two integers.

Version:
1.0 1999 Jan 15
Author:
Gunnar Gotshalks
See Also:
Vector

Constructor Summary
IntegerGreaterThan()
           
 
Method Summary
static boolean execute(java.lang.Integer a, java.lang.Integer b)
           
 boolean execute(java.lang.Object a, java.lang.Object b)
          Return true if integer a > integer b, else return false.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerGreaterThan

public IntegerGreaterThan()
Method Detail

execute

public final boolean execute(java.lang.Object a,
                             java.lang.Object b)
Return true if integer a > integer b, else return false.

Specified by:
execute in interface BinaryPredicate
Throws:
if - at least one of a or b is not a Integer.

execute

public static boolean execute(java.lang.Integer a,
                              java.lang.Integer b)