- java.lang.Object
- 
- javafx.beans.binding.NumberExpressionBase
 
- 
- All Implemented Interfaces:
- NumberExpression,- Observable,- ObservableNumberValue,- ObservableValue<Number>
 - Direct Known Subclasses:
- DoubleExpression,- FloatExpression,- IntegerExpression,- LongExpression
 
 public abstract class NumberExpressionBase extends Object implements NumberExpression NumberExpressionBasecontains convenience methods to generate bindings in a fluent style, that are common to all NumberExpression subclasses.NumberExpressionBase serves as a place for common code of specific NumberExpression subclasses for the specific number type. - Since:
- JavaFX 2.0
- See Also:
- IntegerExpression,- LongExpression,- FloatExpression,- DoubleExpression
 
- 
- 
Constructor SummaryConstructors Constructor Description NumberExpressionBase()
 - 
Method SummaryModifier and Type Method Description NumberBindingadd(ObservableNumberValue other)Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand anotherObservableNumberValue.StringBindingasString()StringBindingasString(String format)StringBindingasString(Locale locale, String format)NumberBindingdivide(ObservableNumberValue other)Creates a newNumberBindingthat calculates the division of thisNumberExpressionand anotherObservableNumberValue.BooleanBindinggreaterThan(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than anotherObservableNumberValue.BooleanBindinggreaterThanOrEqualTo(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to anotherObservableNumberValue.BooleanBindingisEqualTo(double other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(float other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(int other)BooleanBindingisEqualTo(int other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(long other)BooleanBindingisEqualTo(long other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(ObservableNumberValue other)BooleanBindingisEqualTo(ObservableNumberValue other, double epsilon)Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare equal (with a tolerance).BooleanBindingisNotEqualTo(double other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(float other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.BooleanBindingisNotEqualTo(int other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.BooleanBindingisNotEqualTo(long other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal.BooleanBindingisNotEqualTo(ObservableNumberValue other, double epsilon)Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal (with a tolerance).BooleanBindinglessThan(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than anotherObservableNumberValue.BooleanBindinglessThanOrEqualTo(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to anotherObservableNumberValue.NumberBindingmultiply(ObservableNumberValue other)Creates a newNumberBindingthat calculates the product of thisNumberExpressionand anotherObservableNumberValue.static <S extends Number>
 NumberExpressionBasenumberExpression(ObservableNumberValue value)Returns anNumberExpressionBasethat wraps aObservableNumberValue.NumberBindingsubtract(ObservableNumberValue other)Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand anotherObservableNumberValue.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface javafx.beans.binding.NumberExpressionadd, add, add, add, divide, divide, divide, divide, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract
 - 
Methods inherited from interface javafx.beans.ObservableaddListener, removeListener
 - 
Methods inherited from interface javafx.beans.value.ObservableNumberValuedoubleValue, floatValue, intValue, longValue
 - 
Methods inherited from interface javafx.beans.value.ObservableValueaddListener, getValue, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
numberExpressionpublic static <S extends Number> NumberExpressionBase numberExpression(ObservableNumberValue value) Returns anNumberExpressionBasethat wraps aObservableNumberValue. If theObservableNumberValueis already an instance ofNumberExpressionBase, it will be returned. Otherwise a newNumberBindingis created that is bound to theObservableNumberValue.- Type Parameters:
- S- The type of Number to be wrapped
- Parameters:
- value- The source- ObservableNumberValue
- Returns:
- An NumberExpressionBasethat wraps theObservableNumberValueif necessary
- Throws:
- NullPointerException- if- valueis- null
 
 - 
addpublic NumberBinding add(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newNumberBindingthat calculates the sum of thisNumberExpressionand anotherObservableNumberValue.- Specified by:
- addin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
 
 - 
subtractpublic NumberBinding subtract(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newNumberBindingthat calculates the difference of thisNumberExpressionand anotherObservableNumberValue.- Specified by:
- subtractin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
 
 - 
multiplypublic NumberBinding multiply(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newNumberBindingthat calculates the product of thisNumberExpressionand anotherObservableNumberValue.- Specified by:
- multiplyin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
 
 - 
dividepublic NumberBinding divide(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newNumberBindingthat calculates the division of thisNumberExpressionand anotherObservableNumberValue.- Specified by:
- dividein interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare equal.When comparing floating-point numbers it is recommended to use the isEqualTo()method that allows a small tolerance.- Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(ObservableNumberValue other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare equal (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- epsilon- the tolerance
- Returns:
- the new BooleanBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(double other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(float other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(long other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value.When comparing floating-point numbers it is recommended to use the isEqualTo()method that allows a small tolerance.- Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(long other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(int other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value.When comparing floating-point numbers it is recommended to use the isEqualTo()method that allows a small tolerance.- Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isEqualTopublic BooleanBinding isEqualTo(int other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Specified by:
- isEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal.When comparing floating-point numbers it is recommended to use the isNotEqualTo()method that allows a small tolerance.- Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(ObservableNumberValue other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(double other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(float other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(long other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.When comparing floating-point numbers it is recommended to use the isNotEqualTo()method that allows a small tolerance.- Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(long other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(int other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.When comparing floating-point numbers it is recommended to use the isNotEqualTo()method that allows a small tolerance.- Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualTopublic BooleanBinding isNotEqualTo(int other, double epsilon) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Specified by:
- isNotEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
greaterThanpublic BooleanBinding greaterThan(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than anotherObservableNumberValue.- Specified by:
- greaterThanin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
 
 - 
greaterThanpublic BooleanBinding greaterThan(double other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Specified by:
- greaterThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanpublic BooleanBinding greaterThan(float other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Specified by:
- greaterThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanpublic BooleanBinding greaterThan(long other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Specified by:
- greaterThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanpublic BooleanBinding greaterThan(int other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Specified by:
- greaterThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanpublic BooleanBinding lessThan(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than anotherObservableNumberValue.- Specified by:
- lessThanin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
 
 - 
lessThanpublic BooleanBinding lessThan(double other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Specified by:
- lessThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanpublic BooleanBinding lessThan(float other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Specified by:
- lessThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanpublic BooleanBinding lessThan(long other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Specified by:
- lessThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanpublic BooleanBinding lessThan(int other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Specified by:
- lessThanin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualTopublic BooleanBinding greaterThanOrEqualTo(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to anotherObservableNumberValue.- Specified by:
- greaterThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualTopublic BooleanBinding greaterThanOrEqualTo(double other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Specified by:
- greaterThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualTopublic BooleanBinding greaterThanOrEqualTo(float other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Specified by:
- greaterThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualTopublic BooleanBinding greaterThanOrEqualTo(long other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Specified by:
- greaterThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualTopublic BooleanBinding greaterThanOrEqualTo(int other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Specified by:
- greaterThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualTopublic BooleanBinding lessThanOrEqualTo(ObservableNumberValue other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to anotherObservableNumberValue.- Specified by:
- lessThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualTopublic BooleanBinding lessThanOrEqualTo(double other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Specified by:
- lessThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualTopublic BooleanBinding lessThanOrEqualTo(float other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Specified by:
- lessThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualTopublic BooleanBinding lessThanOrEqualTo(long other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Specified by:
- lessThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualTopublic BooleanBinding lessThanOrEqualTo(int other) Description copied from interface:NumberExpressionCreates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Specified by:
- lessThanOrEqualToin interface- NumberExpression
- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
asStringpublic StringBinding asString() Description copied from interface:NumberExpressionCreates aStringBindingthat holds the value of theNumberExpressionturned into aString. If the value of thisNumberExpressionchanges, the value of theStringBindingwill be updated automatically.The conversion is done without any formatting applied. - Specified by:
- asStringin interface- NumberExpression
- Returns:
- the new StringBinding
 
 - 
asStringpublic StringBinding asString(String format) Description copied from interface:NumberExpressionCreates aStringBindingthat holds the value of theNumberExpressionturned into aString. If the value of thisNumberExpressionchanges, the value of theStringBindingwill be updated automatically.The result is formatted according to the formatting String. Seejava.util.Formatterfor formatting rules.- Specified by:
- asStringin interface- NumberExpression
- Parameters:
- format- the formatting- String
- Returns:
- the new StringBinding
 
 - 
asStringpublic StringBinding asString(Locale locale, String format) Description copied from interface:NumberExpressionCreates aStringBindingthat holds the value of theNumberExpressionturned into aString. If the value of thisNumberExpressionchanges, the value of theStringBindingwill be updated automatically.The result is formatted according to the formatting Stringand the passed inLocale. Seejava.util.Formatterfor formatting rules. Seejava.util.Localefor details onLocale.- Specified by:
- asStringin interface- NumberExpression
- Parameters:
- locale- the Locale to be used
- format- the formatting- String
- Returns:
- the new StringBinding
 
 
- 
 
-