Class Collection<C extends ICollector<P>,P>

java.lang.Object
org.frankframework.collection.Collection<C,P>
Type Parameters:
C - Collector to use, which creates the parts
P - Parts to be added to each collection
All Implemented Interfaces:
AutoCloseable, INamedObject

public class Collection<C extends ICollector<P>,P> extends Object implements AutoCloseable, INamedObject
Aggregator which handles the collection of collector parts. Ensures they are closed if required and 'builds' the collection.
Author:
Niels Meijer