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 valueDoubleBinding
public DoubleBinding otherwise(double otherwiseValue)
false
.otherwiseValue
- the valueDoubleBinding
public NumberBinding otherwise(float otherwiseValue)
false
.otherwiseValue
- the valueNumberBinding
public NumberBinding otherwise(long otherwiseValue)
false
.otherwiseValue
- the valueNumberBinding
public NumberBinding otherwise(int otherwiseValue)
false
.otherwiseValue
- the valueNumberBinding
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.