public class LongProperty extends AbstractProperty<java.lang.Long>
Long value.defaultValue, key| Constructor and Description |
|---|
LongProperty(java.lang.String key,
long defaultValue)
Constructs a new
LongProperty |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
get()
Replies the value of this property.
|
boolean |
put(java.lang.Long value)
Sets this property to the specified value.
|
getDefaultValue, getKey, isSet, removepublic LongProperty(java.lang.String key, long defaultValue)
LongPropertykey - property keydefaultValue - default valuepublic java.lang.Long get()
AbstractPropertyget in class AbstractProperty<java.lang.Long>public boolean put(java.lang.Long value)
AbstractPropertyput in class AbstractProperty<java.lang.Long>value - The new value of this property