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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user