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