原书出处
深入设计模式 (亚历山大 · 什韦茨)
44 迭代器
method getNext() is if (hasMore()) currentPosition++ return cache[currentPosition]
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/深入设计模式 (亚历山大 · 什韦茨)/_epub-src/OEBPS/design-patterns__iterator.xhtml
EPUB SHA-256:24dc27239895a8c33b3d77c685d9af7b1b1de8747d45e0723f2d03ee7649f7c7