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.PropertiesBuilderDictionary.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)
KeyscontainsKey in interface Keys<String,String>aKey - The key for which to test whether there is an element.public String get(String aKey)
Keyspublic Set<String> keySet()
Keyspublic Collection<String> values()
KeysCollection 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()
Containablesize in interface Containablepublic boolean isEmpty()
ContainableisEmpty in interface ContainableCopyright © 2016. All rights reserved.