de.smartics.properties.api.config.domain
Interface PropertyCollection

Package class diagram package PropertyCollection
All Superinterfaces:
Iterable< Property>
All Known Implementing Classes:
DsPropertyCollection, MappedPropertyCollection, MultiPropertyCollection, NativePropertyCollection, PropertiesPropertyCollection

public interface PropertyCollection
     
     
extends Iterable< Property>

Models a collection of properties as String keys and values to iterate over.

See Also:
Property

Method Summary
 void close()
          Releases all resources used by this collection.
 Iterator<Property> iterator()
          Returns an iterator over a set of properties.
 

Method Detail

close

void close()
Releases all resources used by this collection.


iterator

Iterator<Property> iterator()
Returns an iterator over a set of properties.

Please note that an implementation may require to call close() after iterating over the values. The client calling iterator() is responsible for closing the collection.

Specified by:
iterator in interface Iterable<Property>
Returns:
an iterator.


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