Interface Aggregate<T>

Type Parameters:
T - The type of elements in the collection.
All Known Implementing Classes:
ConcreteAggregate

public interface Aggregate<T>
Interface for creating iterators. Provides a method to retrieve an iterator for a collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create an iterator for the collection.
  • Method Details

    • createIterator

      Iterator<T> createIterator()
      Create an iterator for the collection.
      Returns:
      An iterator for the collection.