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