More than 3 years have passed since last update.

posted at

updated at

Iterator Pattern

Iterator Pattern

  • is very commonly used design pattern in Java
  • This pattern is used to get a way to access the elements of a collection object in sequential manner without any need to know its underlying representation(基本的な表現方法を知らなくても連続した方法でコレクションオブジェクトの要素にアクセスする方法を取得するのに使われる)
  • collection class has a inner class(iterator class). that class can7t be used by other class.


Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up