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
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.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, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<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
- Specified by:
setin interfaceListIterator<ICommand>
-
add
- Specified by:
addin interfaceListIterator<ICommand>
-
jumpTo
Jump to label or command.- Parameters:
key- label string or ICommand object.
-
jumpToNextOf
Deprecated.useFlowControlStateandjumpTo(Object).Jump to next of label or command.- Parameters:
key- label string or ICommand object.
-
getCommandSequence
Get command sequence.- Returns:
- command sequence.
-
FlowControlStateandjumpTo(Object).