org.jwall.audit.script.utils
Class ListIteratorImpl
java.lang.Object
org.jwall.audit.script.utils.ListIteratorImpl
- All Implemented Interfaces:
- Iterator<ScriptEvent>, ListIterator<ScriptEvent>
public class ListIteratorImpl
- extends Object
- implements Iterator<ScriptEvent>, ListIterator<ScriptEvent>
This is a simple implementation of an iterator and a list iterator. It is
backed by a lazy event list.
- Author:
- Christian Bockermann <chris@jwall.org>
ListIteratorImpl
public ListIteratorImpl(EventList<?> list)
ListIteratorImpl
public ListIteratorImpl(EventList<?> list,
int offset)
add
public void add(ScriptEvent arg0)
- Specified by:
add in interface ListIterator<ScriptEvent>
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<ScriptEvent>- Specified by:
hasNext in interface ListIterator<ScriptEvent>
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious in interface ListIterator<ScriptEvent>
next
public ScriptEvent next()
- Specified by:
next in interface Iterator<ScriptEvent>- Specified by:
next in interface ListIterator<ScriptEvent>
nextIndex
public int nextIndex()
- Specified by:
nextIndex in interface ListIterator<ScriptEvent>
previous
public ScriptEvent previous()
- Specified by:
previous in interface ListIterator<ScriptEvent>
previousIndex
public int previousIndex()
- Specified by:
previousIndex in interface ListIterator<ScriptEvent>
remove
public void remove()
- Specified by:
remove in interface Iterator<ScriptEvent>- Specified by:
remove in interface ListIterator<ScriptEvent>
set
public void set(ScriptEvent arg0)
- Specified by:
set in interface ListIterator<ScriptEvent>
Copyright © 2012 jwall.org. All Rights Reserved.