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