public class CollectionProperty extends AbstractProperty<Collection<String>>
Collection
of String
as value.defaultValue, key
Constructor and Description |
---|
CollectionProperty(String key,
Collection<String> defaultValue)
Constructs a new
CollectionProperty . |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
get()
Replies the value of this property.
|
boolean |
put(Collection<String> value)
Sets this property to the specified value.
|
getDefaultValue, getKey, isSet, remove
public CollectionProperty(String key, Collection<String> defaultValue)
CollectionProperty
.key
- The property keydefaultValue
- The default valuepublic Collection<String> get()
AbstractProperty
get
in class AbstractProperty<Collection<String>>
public boolean put(Collection<String> value)
AbstractProperty
put
in class AbstractProperty<Collection<String>>
value
- The new value of this property