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

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.

主站蜘蛛池模板: 晋城| 秦安县| 新竹县| 石景山区| 湄潭县| 响水县| 宝丰县| 凤山县| 城固县| 西吉县| 彭阳县| 彭阳县| 永和县| 嘉祥县| 筠连县| 刚察县| 休宁县| 新昌县| 诏安县| 建阳市| 广丰县| 永春县| 建阳市| 衢州市| 临海市| 潮安县| 榕江县| 昭觉县| 衡阳县| 德清县| 盐山县| 牙克石市| 新和县| 蕉岭县| 康平县| 玉溪市| 仪征市| 和田市| 盐边县| 乌拉特后旗| 许昌县|