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