Java Reference
In-Depth Information
Aside from the arithmetic methods, the Bindings class also has the following factory methods.
Logical operators:
and , or , not
Numeric operators:
min , max , negate
Object operators:
isNull , isNotNull
String operators:
length , isEmpty , isNotEmpty
Relational operators:
equal
equalIgnoreCase
greaterThan
greaterThanOrEqual
lessThan
lessThanOrEqual
notEqual
notEqualIgnoreCase
Creation operators:
createBooleanBinding
createIntegerBinding
createLongBinding
createFloatBinding
createDoubleBinding
createStringBinding
createObjectBinding
Selection operators:
select
selectBoolean
selectInteger
selectLong
selectFloat
selectDouble
selectString
Except for the creation operators and the selection operators, the preceding operators all do what you think they
will do. The object operators are meaningful only for observable string values and observable object values. The string
operators are meaningful only for observable string values. All relational operators except for the IgnoreCase ones
apply to numeric values. There are versions of the equal and notEqual operators for numeric values that have a third
double parameter for the tolerance when comparing float or double values. The equal and notEqual operators also
apply to boolean , string, and object values. For string and object values, the equal and notEqual operator compares
their values using the equals() method.
 
Search WWH ::




Custom Search