net.sf.antcontrib.logic.condition
Class IsLessThan
Equals
net.sf.antcontrib.logic.condition.IsLessThan
public class IsLessThan
extends Equals
Extends Equals condition to test if the first argument is less than the
second argument. Will deal with base 10 integer and decimal numbers, otherwise,
treats arguments as Strings.
Developed for use with Antelope, migrated to ant-contrib Oct 2003.
- Dale Anson, danson@germane-software.com
boolean | eval()
|
void | setArg1(String a1)
|
void | setArg2(String a2)
|
void | setCasesensitive(boolean b) - Should the comparison be case sensitive?
|
void | setTrim(boolean b) - Should we want to trim the arguments before comparing them?
|
eval
public boolean eval()
throws BuildException
setArg1
public void setArg1(String a1)
setArg2
public void setArg2(String a2)
setCasesensitive
public void setCasesensitive(boolean b)
Should the comparison be case sensitive?
setTrim
public void setTrim(boolean b)
Should we want to trim the arguments before comparing them?