de.smartics.properties.spi.config.support
Class MappedPropertyCollection

Package class diagram package MappedPropertyCollection
java.lang.Object
  extended by de.smartics.properties.spi.config.support.MappedPropertyCollection
All Implemented Interfaces:
PropertyCollection, Iterable< Property>

@NotThreadSafe
public final class MappedPropertyCollection
     
     
extends Object
implements PropertyCollection

Implementation of PropertyCollection based on a Map.


Constructor Summary
MappedPropertyCollection(Collection<Map<String,String>> properties)
          Constructor to add properties via a collection.
MappedPropertyCollection(Map<String,String>... properties)
          Constructor to add properties.
MappedPropertyCollection(Map<String,String> properties)
          Constructor to add properties.
 
Method Summary
 Iterator<Property> iterator()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappedPropertyCollection

public MappedPropertyCollection(Collection<Map<String,String>> properties)
Constructor to add properties via a collection.

The contents of the properties are added. The client may use the properties continuously for other purposes since no reference is held to any of the properties after the call.

Parameters:
properties - the properties to iterate over.

MappedPropertyCollection

public MappedPropertyCollection(Map<String,String> properties)
Constructor to add properties.

The contents of the properties is added. The client may use the properties continuously for other purposes since no reference is held to the properties after the call.

Parameters:
properties - the properties to iterate over.

MappedPropertyCollection

public MappedPropertyCollection(Map<String,String>... properties)
Constructor to add properties.

The contents of the properties are added. The client may use the properties continuously for other purposes since no reference is held to any of the properties after the call.

Parameters:
properties - the properties to iterate over.
Method Detail

iterator

public Iterator<Property> iterator()

Specified by:
iterator in interface Iterable<Property>
See Also:
Iterable.iterator()


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.