public class SwitchLabelList.SwitchLabelListIterator extends List.NodeListIterator
java.util.ListIterator
is exposed through this class.I
children, index
Constructor and Description |
---|
SwitchLabelListIterator() |
Modifier and Type | Method and Description |
---|---|
SwitchLabel |
nextItem()
Returns the next AST node in the list.
|
SwitchLabel |
previousItem()
Returns the previous element in the list.
|
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, reset, set
public SwitchLabel nextItem()
previous()
to go back and
forth. (Note that alternating calls to next()
and previous()
will return the same element repeatedly.)public SwitchLabel previousItem()
Copyright © 2016. All rights reserved.