Class FunctionNameStack

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.String>, java.util.Collection<java.lang.String>, java.util.Deque<java.lang.String>, java.util.Queue<java.lang.String>, SymbolTable<java.lang.String>

    public class FunctionNameStack
    extends java.util.ArrayDeque<java.lang.String>
    implements SymbolTable<java.lang.String>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FunctionNameStack fork()  
      int getCapacity()  
      void lock​(java.lang.String name)  
      void release​(java.lang.String name)  
      • Methods inherited from class java.util.ArrayDeque

        add, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, forEach, getFirst, getLast, isEmpty, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeAll, removeFirst, removeFirstOccurrence, removeIf, removeLast, removeLastOccurrence, retainAll, size, spliterator, toArray, toArray
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        containsAll, equals, hashCode, parallelStream, stream, toArray
    • Constructor Detail

      • FunctionNameStack

        public FunctionNameStack()
      • FunctionNameStack

        public FunctionNameStack​(int capacity)
    • Method Detail

      • lock

        public void lock​(java.lang.String name)
        Specified by:
        lock in interface SymbolTable<java.lang.String>
      • release

        public void release​(java.lang.String name)
        Specified by:
        release in interface SymbolTable<java.lang.String>
      • getCapacity

        public int getCapacity()