public interface Aggregateable<E>
| Modifier and Type | Method and Description |
|---|---|
E |
aggregate(E toAggregate)
Aggregate an object with this one
|
void |
finalizeAggregation()
Call to complete the aggregation process.
|
E aggregate(E toAggregate) throws java.lang.Exception
toAggregate - the object to aggregatejava.lang.Exception - if the supplied object can't be aggregated for some
reasonvoid finalizeAggregation()
throws java.lang.Exception
java.lang.Exception - if the aggregation can't be finalized for some reason