IndexListIterator che implementa Iterator mediante un array list. Implementazione di Iterator mediante cursore : ElementIterator per PositionList. Aggiunti alcuni metodi e spostato le classi IndexListIterator,ElementIterator nel package Iterator.

This commit is contained in:
2014-04-06 21:55:57 +02:00
parent 7f3a0bfc24
commit 9e23828342
10 changed files with 205 additions and 75 deletions

View File

@@ -8,7 +8,7 @@ package arraylist;
*/
//Copyright (c) 2003 Brown University, Providence, RI
//Additional modifications and methods by xgiovio
public interface IndexList<E> {
public interface IndexList<E> extends Iterable<E> {
public E remove(int i) throws IndexOutOfBoundsException;