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