All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.predicates.GreaterString

java.lang.Object
   |
   +----COM.objectspace.jgl.predicates.GreaterString

public final class GreaterString
extends Object
implements BinaryPredicate
GreaterString is a binary predicate that returns true if the first operand as a string is greater than the second operand as a string.


Constructor Index

 o GreaterString()

Method Index

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

Constructors

 o GreaterString
 public GreaterString()

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 is converted into a String if necessary.
second - The second operand, which is converted into a String if necessary.
Returns:
first.toString() > second.toString()

All Packages  Class Hierarchy  This Package  Previous  Next  Index