| Modifier and Type | Method and Description |
|---|---|
DoubleBinding |
otherwise(double otherwiseValue)
Defines a constant value of the ternary expression, that is returned
if the condition is
false. |
NumberBinding |
otherwise(float otherwiseValue)
Defines a constant value of the ternary expression, that is returned
if the condition is
false. |
NumberBinding |
otherwise(int otherwiseValue)
Defines a constant value of the ternary expression, that is returned
if the condition is
false. |
NumberBinding |
otherwise(long otherwiseValue)
Defines a constant value of the ternary expression, that is returned
if the condition is
false. |
NumberBinding |
otherwise(ObservableNumberValue otherwiseValue)
Defines the
ObservableNumberValue which
value is returned by the ternary expression if the condition is
false. |
public NumberBinding otherwise(ObservableNumberValue otherwiseValue)
ObservableNumberValue which
value is returned by the ternary expression if the condition is
false.otherwiseValue - the valueDoubleBindingpublic DoubleBinding otherwise(double otherwiseValue)
false.otherwiseValue - the valueDoubleBindingpublic NumberBinding otherwise(float otherwiseValue)
false.otherwiseValue - the valueNumberBindingpublic NumberBinding otherwise(long otherwiseValue)
false.otherwiseValue - the valueNumberBindingpublic NumberBinding otherwise(int otherwiseValue)
false.otherwiseValue - the valueNumberBindingCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.