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