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