public class DoubleProperty extends AbstractProperty<Double>
Double based property.| Constructor and Description |
|---|
DoubleProperty()
Default constructor.
|
DoubleProperty(String key,
Double value)
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Double |
get(Collection<Property<?>> props,
String aKey)
Get
Double property value. |
static Double |
get(Collection<Property<?>> props,
String aKey,
Double defValue)
Get
Double property value.Default value will be used if: - props is null;- aKey is empty; - property not found; - property value is null;- property value type differs. |
static Double |
get(Map<String,Property<?>> props,
String aKey)
Get
Double property value. |
static Double |
get(Map<String,Property<?>> props,
String aKey,
Double defValue)
Get
Double property value.Default value will be used if: - props is null;- aKey is empty; - property not found; - property value is null;- property value type differs. |
static Double |
get(Property<?> prop)
Get
Double property value. |
static Double |
get(Property<?> prop,
Double defValue)
Get
Double property value.Default value will be used if: - prop is null;- property value is null;- property value type differs. |
public static Double get(Collection<Property<?>> props, String aKey)
Double property value.props - properties collectionaKey - property keynullpublic static Double get(Collection<Property<?>> props, String aKey, Double defValue)
Double property value.null;null;props - properties collectionaKey - property keydefValue - default property valuenullpublic static Double get(Map<String,Property<?>> props, String aKey)
Double property value.props - properties mapaKey - property keynullpublic static Double get(Map<String,Property<?>> props, String aKey, Double defValue)
Double property value.null;null;props - properties mapaKey - property keydefValue - default property valuenullpublic static Double get(Property<?> prop)
Double property value.prop - propertynullCopyright © 2013–2019 BB Corp. All rights reserved.