Modifier and Type | Method and Description |
---|---|
ObjectBinding<T> |
otherwise(ObservableObjectValue<T> otherwiseValue)
Defines the
ObservableObjectValue which
value is returned by the ternary expression if the condition is
false . |
ObjectBinding<T> |
otherwise(T otherwiseValue)
Defines a constant value of the ternary expression, that is returned
if the condition is
false . |
public ObjectBinding<T> otherwise(ObservableObjectValue<T> otherwiseValue)
ObservableObjectValue
which
value is returned by the ternary expression if the condition is
false
.otherwiseValue
- the valueObjectBinding
public ObjectBinding<T> otherwise(T otherwiseValue)
false
.otherwiseValue
- the valueObjectBinding
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, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.