public class PropertiesImpl extends Object implements Properties
Modifier and Type | Class and Description |
---|---|
static class |
PropertiesImpl.MutablePropertiesImpl |
static class |
PropertiesImpl.PropertiesBuilderImpl |
Properties.ClearableProperties, Properties.MutableProperties, Properties.PropertiesBuilder
Dictionary.ClearableDictionary<K,V>, Dictionary.MutableDictionary<K,V>
Keys.ClearableKeys<K,V>, Keys.MutableKeys<K,V>
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
_properties |
Modifier | Constructor and Description |
---|---|
protected |
PropertiesImpl() |
|
PropertiesImpl(Map<?,?> aProperties) |
|
PropertiesImpl(Properties aProperties) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(String aKey)
Tests whether there is an element with the given key.
|
String |
get(String aKey)
Retrieves the element assigned to the given key.
|
boolean |
isEmpty()
Tests whether the accumulation is empty or not.
|
Set<String> |
keySet()
Retrieves a collection containing all the keys found in the elements of
this collection.
|
int |
size()
Returns the number of data elements contained in the collection.
|
Collection<String> |
values()
Returns a
Collection view of the values related to the contained
keys. |
protected PropertiesImpl()
public PropertiesImpl(Properties aProperties)
public PropertiesImpl(Map<?,?> aProperties)
public boolean containsKey(String aKey)
Keys
containsKey
in interface Keys<String,String>
aKey
- The key for which to test whether there is an element.public String get(String aKey)
Keys
public Set<String> keySet()
Keys
public Collection<String> values()
Keys
Collection
view of the values related to the contained
keys.values
in interface Keys<String,String>
Collection
view of the values related to the contained
keys.public int size()
Containable
size
in interface Containable
public boolean isEmpty()
Containable
isEmpty
in interface Containable
Copyright © 2016. All rights reserved.