public class FunctionNameStack extends ArrayDeque<String> implements SymbolTable<String>
| Constructor and Description |
|---|
FunctionNameStack() |
FunctionNameStack(FunctionNameStack parent) |
FunctionNameStack(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
FunctionNameStack |
fork() |
int |
getCapacity() |
void |
lock(String name) |
void |
release(String name) |
add, addFirst, addLast, clear, clone, contains, descendingIterator, element, getFirst, getLast, isEmpty, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, spliterator, toArray, toArrayaddAll, containsAll, removeAll, retainAll, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, streampublic FunctionNameStack()
public FunctionNameStack(int capacity)
public FunctionNameStack(FunctionNameStack parent)
public FunctionNameStack fork()
fork in interface SymbolTable<String>public void lock(String name)
lock in interface SymbolTable<String>public void release(String name)
release in interface SymbolTable<String>public int getCapacity()
Copyright © 2021. All rights reserved.