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, remove
public LongProperty(java.lang.String key, long defaultValue)
LongProperty
key
- property keydefaultValue
- default valuepublic java.lang.Long get()
AbstractProperty
get
in class AbstractProperty<java.lang.Long>
public boolean put(java.lang.Long value)
AbstractProperty
put
in class AbstractProperty<java.lang.Long>
value
- The new value of this property