public interface Operation
Modifier and Type | Method and Description |
---|---|
int |
compare(boolean left,
boolean right)
compares a boolean with a boolean
|
int |
compare(boolean left,
Date right)
compares a boolean with a Date
|
int |
compare(boolean left,
double right)
compares a boolean with a double
|
int |
compare(boolean left,
Object right)
compares a boolean with a Object
|
int |
compare(boolean left,
String right)
compares a boolean with a double
|
int |
compare(Date left,
boolean right)
compares a Date with a boolean
|
int |
compare(Date left,
Date right)
compares a Date with a Date
|
int |
compare(Date left,
double right)
compares a Date with a double
|
int |
compare(Date left,
Object right)
compares a Date with a Object
|
int |
compare(Date left,
String right)
compares a Date with a String
|
int |
compare(double left,
boolean right)
compares a double with a boolean
|
int |
compare(double left,
Date right)
compares a double with a Date
|
int |
compare(double left,
double right)
compares a double with a double
|
int |
compare(double left,
Object right)
compares a double with a Object
|
int |
compare(double left,
String right)
compares a double with a String
|
int |
compare(Object left,
boolean right)
compares a Object with a boolean
|
int |
compare(Object left,
Date right)
compares a Object with a Date
|
int |
compare(Object left,
double right)
compares a Object with a double
|
int |
compare(Object left,
Object right)
compares two Objects
|
int |
compare(Object left,
String right)
compares a Object with a String
|
int |
compare(String left,
boolean right)
compares a String with a boolean
|
int |
compare(String left,
Date right)
compares a String with a Date
|
int |
compare(String left,
double right)
compares a String with a double
|
int |
compare(String left,
Object right)
compares a String with a Object
|
int |
compare(String left,
String right)
compares a String with a String
|
String |
concat(String left,
String right)
concat to Strings
|
boolean |
ct(Object left,
Object right)
check if left is inside right (String-> ignore case)
|
double |
divide(double left,
double right)
divide operation
|
boolean |
equals(Object left,
Object right,
boolean caseSensitive)
Method to compare to different values, return true of objects are same otherwise false
|
boolean |
eqv(Object left,
Object right)
Equivalence: Return True if both operands are True or both are False.
|
double |
exponent(Object left,
Object right)
calculate the exponent of the left value
|
boolean |
imp(Object left,
Object right)
Implication: The statement A IMP B is the equivalent of the logical statement
"If A Then B." A IMP B is False only if A is True and B is False.
|
double |
minus(double left,
double right)
minus operation
|
double |
modulus(double left,
double right)
modulus operation
|
double |
multiply(double left,
double right)
multiply operation
|
boolean |
nct(Object left,
Object right)
check if left is not inside right (String-> ignore case)
|
double |
plus(double left,
double right)
plus operation
|
int compare(Object left, Object right) throws PageException
left
- right
- PageException
int compare(Object left, String right) throws PageException
left
- right
- PageException
int compare(Object left, double right) throws PageException
left
- right
- PageException
int compare(Object left, boolean right) throws PageException
left
- right
- PageException
int compare(Object left, Date right) throws PageException
left
- right
- PageException
int compare(String left, Object right) throws PageException
left
- right
- PageException
int compare(String left, String right)
left
- right
- int compare(String left, double right)
left
- right
- int compare(String left, boolean right)
left
- right
- int compare(String left, Date right) throws PageException
left
- right
- PageException
int compare(double left, Object right) throws PageException
left
- right
- PageException
int compare(double left, String right)
left
- right
- int compare(double left, double right)
left
- right
- int compare(double left, boolean right)
left
- right
- int compare(double left, Date right)
left
- right
- int compare(boolean left, Object right) throws PageException
left
- right
- PageException
int compare(boolean left, double right)
left
- right
- int compare(boolean left, String right)
left
- right
- int compare(boolean left, boolean right)
left
- right
- int compare(boolean left, Date right)
left
- right
- int compare(Date left, Object right) throws PageException
left
- right
- PageException
int compare(Date left, String right) throws PageException
left
- right
- PageException
int compare(Date left, double right)
left
- right
- int compare(Date left, boolean right)
left
- right
- int compare(Date left, Date right)
left
- right
- boolean equals(Object left, Object right, boolean caseSensitive) throws PageException
left
- left value to compareright
- right value to comparecaseSensitive
- check case sensitive or notPageException
boolean ct(Object left, Object right) throws PageException
left
- string to checkright
- substring to find in stringPageException
boolean eqv(Object left, Object right) throws PageException
left
- value to checkright
- value to checkPageException
boolean imp(Object left, Object right) throws PageException
left
- value to checkright
- value to checkPageException
boolean nct(Object left, Object right) throws PageException
left
- string to checkright
- substring to find in stringPageException
double exponent(Object left, Object right) throws PageException
left
- value to get exponent fromright
- exponent countPageException
String concat(String left, String right)
left
- right
- double plus(double left, double right)
left
- right
- double minus(double left, double right)
left
- right
- double modulus(double left, double right)
left
- right
- double divide(double left, double right)
left
- right
- double multiply(double left, double right)
left
- right
- Copyright © 2015 Lucee