1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | package Torello.Java.ReadOnly;
import java.util.ListIterator;
class JavaHTMLReadOnlyListIterator<E> implements ReadOnlyListIterator<E>
{
private final ListIterator<E> li;
JavaHTMLReadOnlyListIterator(ListIterator<E> li)
{ this.li = li; }
public boolean hasNext() { return li.hasNext(); }
public E next() { return li.next(); }
public boolean hasPrevious() { return li.hasPrevious(); }
public E previous() { return li.previous(); }
public int nextIndex() { return li.nextIndex(); }
public int previousIndex() { return li.previousIndex(); }
public String toString()
{ return li.toString(); }
}
|