Class ConcreteAggregate<T>
java.lang.Object
Behavioral.Iterator.ConcreteAggregate<T>
- Type Parameters:
T- The type of elements in the collection.
- All Implemented Interfaces:
Aggregate<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an item to the collection.Create an iterator for the collection.
-
Constructor Details
-
ConcreteAggregate
public ConcreteAggregate()Constructor initializes an empty collection.
-
-
Method Details
-
addItem
-
createIterator
-