『Java言語で学ぶデザインパターン入門』学習メモ Iteratorパターン Iteratorクラス next()は、「現在の要素を返し」つつ、次