官术网_书友最值得收藏!

UML class diagram

Java's Iterator interface is part of the java.util package and is a member of the Java collections framework. As you can see from the UML class diagram, the interface includes four methods:

UML class diagram i nterface Iterator

The forEachRemaining() method iterates through an object's elements. The hasNext() method returns a Boolean value depending on whether there are more iterations to go through. The next() method simply returns the next sequential iteration element. The final method, remove(), removes that last iterated element from the object.

主站蜘蛛池模板: 崇阳县| 嘉兴市| 景洪市| 中宁县| 八宿县| 德昌县| 仙桃市| 安新县| 梁河县| 安徽省| 昌吉市| 广宁县| 汕头市| 莎车县| 桦南县| 渝中区| 定州市| 巴彦淖尔市| 福贡县| 视频| 佛山市| 定安县| 新平| 伽师县| 喀喇| 焉耆| 英德市| 德阳市| 陕西省| 称多县| 湟中县| 罗源县| 阿鲁科尔沁旗| 遂平县| 醴陵市| 湘阴县| 余姚市| 芷江| 桂平市| 平度市| 平阳县|