Spec-Zone .ru
спецификации, руководства, описания, API
|
public class When.ObjectConditionBuilder<T>
extends java.lang.Object
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
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to