摘要: Iterator界面 本段内容来自阮一峰老师再加自己的部分注解 SPL规定,所有部署了Iterator界面的class,都可以用在foreach Loop中。Iterator界面中包含5个必须部署的方法: current() This method returns the current index 阅读全文
posted @ 2016-03-13 17:35 菜问 阅读(367) 评论(0) 推荐(0) 编辑