be.SIRAPRISE.util
Class MyReadOnlyListIterator<V>

java.lang.Object
  extended by be.SIRAPRISE.util.MyReadOnlyListIterator<V>
Type Parameters:
V -
All Implemented Interfaces:
java.util.Iterator<V>, java.util.ListIterator<V>

public final class MyReadOnlyListIterator<V>
extends java.lang.Object
implements java.util.ListIterator<V>

Author:
Erwin

Constructor Summary
MyReadOnlyListIterator(java.util.ListIterator<V> listIterator)
          Creates the MyReadOnlyListIterator
 
Method Summary
 void add(V e)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 V next()
           
 int nextIndex()
           
 V previous()
           
 int previousIndex()
           
 void remove()
           
 void set(V e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyReadOnlyListIterator

public MyReadOnlyListIterator(java.util.ListIterator<V> listIterator)
Creates the MyReadOnlyListIterator

Parameters:
listIterator -
Method Detail

add

public void add(V e)
Specified by:
add in interface java.util.ListIterator<V>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<V>
Specified by:
hasNext in interface java.util.ListIterator<V>

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface java.util.ListIterator<V>

next

public V next()
Specified by:
next in interface java.util.Iterator<V>
Specified by:
next in interface java.util.ListIterator<V>

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface java.util.ListIterator<V>

previous

public V previous()
Specified by:
previous in interface java.util.ListIterator<V>

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface java.util.ListIterator<V>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<V>
Specified by:
remove in interface java.util.ListIterator<V>

set

public void set(V e)
Specified by:
set in interface java.util.ListIterator<V>