Package jp.vmi.selenium.selenese.command
Class CommandListIterator
- java.lang.Object
-
- jp.vmi.selenium.selenese.command.CommandListIterator
-
- All Implemented Interfaces:
Iterator<ICommand>,ListIterator<ICommand>
public class CommandListIterator extends Object implements ListIterator<ICommand>
Iterator of CommandList.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(ICommand e)CommandSequencegetCommandSequence()Get command sequence.booleanhasNext()booleanhasPrevious()voidjumpTo(Object key)Jump to label or command.voidjumpToNextOf(Object key)Deprecated.useFlowControlStateandjumpTo(Object).ICommandnext()intnextIndex()ICommandprevious()intpreviousIndex()voidremove()voidset(ICommand e)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public ICommand next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<ICommand>
-
previous
public ICommand previous()
- Specified by:
previousin interfaceListIterator<ICommand>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<ICommand>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<ICommand>
-
remove
public void remove()
-
set
public void set(ICommand e)
- Specified by:
setin interfaceListIterator<ICommand>
-
add
public void add(ICommand e)
- Specified by:
addin interfaceListIterator<ICommand>
-
jumpTo
public void jumpTo(Object key)
Jump to label or command.- Parameters:
key- label string or ICommand object.
-
jumpToNextOf
@Deprecated public void jumpToNextOf(Object key)
Deprecated.useFlowControlStateandjumpTo(Object).Jump to next of label or command.- Parameters:
key- label string or ICommand object.
-
getCommandSequence
public CommandSequence getCommandSequence()
Get command sequence.- Returns:
- command sequence.
-
-