|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.javelot.functionalj.util.Operators
Contains method definitions for operators along with their corresponding functions.
| Field Summary | |
static Function |
add
Function that corresponds to the add(int,int) method. |
static Function |
and
Function that corresponds to the and(boolean,boolean) method. |
static Function |
concat
Function that corresponds to the concat(String,String) method. |
static Function |
divide
Function that corresponds to the divide(int,int) method. |
static Function |
multiply
Function that corresponds to the multiply(int,int) method. |
static Function |
not
Function that corresponds to the not(boolean) method. |
static Function |
or
Function that corresponds to the or(boolean,boolean) method. |
static Function |
subtract
Function that corresponds to the subtract(int,int) method. |
| Method Summary | |
static int |
add(int p_first,
int p_second)
Method that corresponds to the + operator. |
static boolean |
and(boolean p_first,
boolean p_second)
Method that corresponds to the && operator. |
static String |
concat(String p_first,
String p_second)
Method that corresponds to the + operator as it pertains to
concatenating two Strings. |
static int |
divide(int p_first,
int p_second)
Method that corresponds to the / operator. |
static int |
multiply(int p_first,
int p_second)
Method that corresponds to the * operator. |
static boolean |
not(boolean p_parameter)
Method that corresponds to the boolean 'not' operator. |
static boolean |
or(boolean p_first,
boolean p_second)
Method that corresponds to the || operator. |
static int |
subtract(int p_first,
int p_second)
Method that corresponds to the - operator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Function add
add(int,int) method.
public static final Function multiply
multiply(int,int) method.
public static final Function subtract
subtract(int,int) method.
public static final Function divide
divide(int,int) method.
public static final Function and
and(boolean,boolean) method.
public static final Function or
or(boolean,boolean) method.
public static final Function not
not(boolean) method.
public static final Function concat
concat(String,String) method.
| Method Detail |
public static int add(int p_first,
int p_second)
+ operator.
p_first - the first parameter to the + operator.p_second - the second parameter to the + operator.
+ operator to the two
parameters.
public static int multiply(int p_first,
int p_second)
* operator.
p_first - the first parameter to the * operator.p_second - the second parameter to the * operator.
* operator to the two
parameters.
public static int subtract(int p_first,
int p_second)
- operator.
p_first - the first parameter to the - operator.p_second - the second parameter to the - operator.
- operator to the two
parameters.
public static int divide(int p_first,
int p_second)
/ operator.
p_first - the first parameter to the / operator.p_second - the second parameter to the / operator.
/ operator to the two
parameters.
public static boolean and(boolean p_first,
boolean p_second)
&& operator.
p_first - the first parameter to the && operator.p_second - the second parameter to the && operator.
&& operator to the two
parameters.
public static boolean or(boolean p_first,
boolean p_second)
|| operator.
p_first - the first parameter to the || operator.p_second - the second parameter to the || operator.
|| operator to the two
parameters.public static boolean not(boolean p_parameter)
!'.
p_parameter - the parameter to the not operator.
not operator to the parameter.
public static String concat(String p_first,
String p_second)
+ operator as it pertains to
concatenating two Strings.
p_first - the first parameter to the + operator.p_second - the second parameter to the + operator.
+ operator to the two
parameters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||