FlexOr.container
Class StringLessThanEqualIC

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

public class StringLessThanEqualIC
extends java.lang.Object
implements BinaryPredicate

Compare two strings ignoring case.

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

Constructor Summary
StringLessThanEqualIC()
           
 
Method Summary
 boolean execute(java.lang.Object a, java.lang.Object b)
          Return true if string a <= string b, else return false.
static boolean execute(java.lang.String a, java.lang.String b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringLessThanEqualIC

public StringLessThanEqualIC()
Method Detail

execute

public final boolean execute(java.lang.Object a,
                             java.lang.Object b)
Return true if string a <= string b, else return false.

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

execute

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