Class ConcreteIterator<T>
java.lang.Object
Behavioral.Iterator.ConcreteIterator<T>
- Type Parameters:
T- The type of elements in the collection.
- All Implemented Interfaces:
Iterator<T>
-
Constructor Summary
ConstructorsConstructorDescriptionConcreteIterator(List<T> collection) Constructor initializes the iterator with a collection. -
Method Summary
-
Constructor Details
-
ConcreteIterator
-
-
Method Details
-
hasNext
-
next
-