Package design.pattern.behavioural
Interface Iterator<T>
public interface Iterator<T>
Iterator
is used to iterate sequentially over aggregate objects without
exposing the internal collection used-
Method Summary
-
Method Details
-
hasNext
boolean hasNext() -
next
T next()
-