메소드 | 설명 | |
---|---|---|
And ( Primitive value1, Primitive value2 ) : Primitive |
The And operator. And("True","True") = "True" And("False","False") = "False" And("True","False") = "False" And("False","True") = "False"
|
|
EQ ( Primitive value1, Primitive value2 ) : Primitive |
The equality operator. Checks if value1 is equal to value2. It also works for strings, where a lexical comparison is made.
|
|
GE ( Primitive value1, Primitive value2 ) : Primitive |
The greater than or equal operator. Checks if value1 is greater than or equal to value2. It also works for strings, where a lexical comparison is made.
|
|
GT ( Primitive value1, Primitive value2 ) : Primitive |
The greater than operator. Checks if value1 is greater than value2. It also works for strings, where a lexical comparison is made.
|
|
LE ( Primitive value1, Primitive value2 ) : Primitive |
The less than or equal operator. Checks if value1 is less than or equal to value2. It also works for strings, where a lexical comparison is made.
|
|
LT ( Primitive value1, Primitive value2 ) : Primitive |
The less than operator. Checks if value1 is less than value2. It also works for strings, where a lexical comparison is made.
|
|
NE ( Primitive value1, Primitive value2 ) : Primitive |
The inequality operator. Checks if value1 is not equal to value2. It also works for strings, where a lexical comparison is made.
|
|
Not ( Primitive value ) : Primitive |
The Not operator. Not("True") = "False" Not("False") = "True"
|
|
Or ( Primitive value1, Primitive value2 ) : Primitive |
The Or operator. Or("True","True") = "True" Or("False","False") = "False" Or("True","False") = "True" Or("False","True") = "True"
|
|
Switch ( Primitive condition, Primitive value1, Primitive value2 ) : Primitive |
A sorthand conditional statement.
|
|
XOr ( Primitive value1, Primitive value2 ) : Primitive |
The XOr (exclusive or) operator. XOr("True","True") = "False" XOr("False","False") = "False" XOr("True","False") = "True" XOr("False","True") = "True"
|
public static And ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value ("True" or "False"). |
value2 | Primitive | The second value ("True" or "False"). |
리턴 | Primitive |
public static EQ ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value. |
value2 | Primitive | The second value. |
리턴 | Primitive |
public static GE ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value. |
value2 | Primitive | The second value. |
리턴 | Primitive |
public static GT ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value. |
value2 | Primitive | The second value. |
리턴 | Primitive |
public static LE ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value. |
value2 | Primitive | The second value. |
리턴 | Primitive |
public static LT ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value. |
value2 | Primitive | The second value. |
리턴 | Primitive |
public static NE ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value. |
value2 | Primitive | The second value. |
리턴 | Primitive |
public static Not ( Primitive value ) : Primitive | ||
value | Primitive | The value to operate on ("True" or "False"). |
리턴 | Primitive |
public static Or ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value ("True" or "False"). |
value2 | Primitive | The second value ("True" or "False"). |
리턴 | Primitive |
public static Switch ( Primitive condition, Primitive value1, Primitive value2 ) : Primitive | ||
condition | Primitive | A condition or variable that evaluates to "True" or "False". |
value1 | Primitive | The value to return if condition is "True". |
value2 | Primitive | The value to return if condition is "False". |
리턴 | Primitive |
public static XOr ( Primitive value1, Primitive value2 ) : Primitive | ||
value1 | Primitive | The first value ("True" or "False"). |
value2 | Primitive | The second value ("True" or "False"). |
리턴 | Primitive |