V - Value typepublic static class PegLegParser.Values<V> extends Object
| Constructor and Description |
|---|
Values() |
| Modifier and Type | Method and Description |
|---|---|
List<V> |
allValues()
Snapshot the values in a list, top element as the 0th element
|
Optional<V> |
peek() |
V |
pop() |
V |
pop(int pos)
Pop the value 'pos' down the stack.
|
void |
push(V v) |
List<V> |
reverse()
All the values in reverse.
|
void |
swap() |
String |
toString() |
public List<V> allValues()
public void push(V v)
public void swap()
public V pop()
public V pop(int pos)
pos - position to pop offCopyright © 2020. All rights reserved.