|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.javelot.functionalj.util.Operators
Contains function definitions for common operators.
| Field Summary | |
static Function2 |
add
Function that corresponds to the + operator. |
static Function2 |
and
Function that corresponds to the && operator. |
static Function2 |
concat
Function that corresponds to the + operator as it pertains to
concatenating two Strings. |
static Function2 |
divide
Function that corresponds to the / operator. |
static Function2 |
max
Function that corresponds to the Math.max(int, int) method. |
static Function2 |
min
Function that corresponds to the Math.min(int, int) method. |
static Function2 |
multiply
Function that corresponds to the * operator. |
static Function1 |
not
Function that corresponds to the boolean 'not' operator. |
static Function2 |
or
Function that corresponds to the || operator. |
static Function2 |
subtract
Function 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 Function2 add
+ operator.
public static final Function2 multiply
* operator.
public static final Function2 subtract
- operator.
public static final Function2 divide
/ operator.
public static final Function2 min
Math.min(int, int) method.
public static final Function2 max
Math.max(int, int) method.
public static final Function2 and
&& operator.
public static final Function2 or
|| operator.
public static final Function1 not
!'.
public static final Function2 concat
+ operator as it pertains to
concatenating two Strings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||