org.omnaest.utils.propertyfile.content
Class PropertyMap

java.lang.Object
  extended by org.omnaest.utils.propertyfile.content.MapAbstract<String,Property>
      extended by org.omnaest.utils.propertyfile.content.PropertyMap
All Implemented Interfaces:
Map<String,Property>

public class PropertyMap
extends MapAbstract<String,Property>

Map implementation for fast access on properties via their property keys. Returns for a key the respective modifiable Property.

Author:
Omnaest

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  PropertyFileContent propertyFileContent
           
 
Constructor Summary
protected PropertyMap(PropertyFileContent propertyFileContent)
           
 
Method Summary
 void clear()
           
 Property get(Object key)
           
 Set<String> keySet()
           
 Property put(Property property)
           
 Property put(String key, Property property)
           
 Property remove(Object key)
           
 int size()
           
 Collection<Property> values()
           
 
Methods inherited from class org.omnaest.utils.propertyfile.content.MapAbstract
containsKey, containsValue, entrySet, isEmpty, putAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

propertyFileContent

protected PropertyFileContent propertyFileContent
Constructor Detail

PropertyMap

protected PropertyMap(PropertyFileContent propertyFileContent)
Method Detail

size

public int size()

get

public Property get(Object key)

put

public Property put(Property property)

put

public Property put(String key,
                    Property property)

remove

public Property remove(Object key)

clear

public void clear()

keySet

public Set<String> keySet()

values

public Collection<Property> values()


Copyright © 2013. All Rights Reserved.