public class CommandListIterator extends Object implements ListIterator<ICommand>
| Modifier and Type | Method and Description |
|---|---|
void |
add(ICommand e) |
CommandSequence |
getCommandSequence()
Get command sequence.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
void |
jumpTo(Object key)
Jump to label or command.
|
void |
jumpToNextOf(Object key)
Jump to next of label or command.
|
ICommand |
next() |
int |
nextIndex() |
ICommand |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(ICommand e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
public ICommand next()
public boolean hasPrevious()
hasPrevious in interface ListIterator<ICommand>public ICommand previous()
previous in interface ListIterator<ICommand>public int nextIndex()
nextIndex in interface ListIterator<ICommand>public int previousIndex()
previousIndex in interface ListIterator<ICommand>public void remove()
public void set(ICommand e)
set in interface ListIterator<ICommand>public void add(ICommand e)
add in interface ListIterator<ICommand>public void jumpTo(Object key)
key - label string or ICommand object.public void jumpToNextOf(Object key)
key - label string or ICommand object.public CommandSequence getCommandSequence()
Copyright © 2016. All rights reserved.