Package org.jpmml.evaluator
Class FunctionNameStack
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.ArrayDeque<java.lang.String>
-
- org.jpmml.evaluator.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
-
-
Constructor Summary
Constructors Constructor Description FunctionNameStack()FunctionNameStack(int capacity)FunctionNameStack(FunctionNameStack parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionNameStackfork()intgetCapacity()voidlock(java.lang.String name)voidrelease(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
-
-
-
-
Constructor Detail
-
FunctionNameStack
public FunctionNameStack()
-
FunctionNameStack
public FunctionNameStack(int capacity)
-
FunctionNameStack
public FunctionNameStack(FunctionNameStack parent)
-
-
Method Detail
-
fork
public FunctionNameStack fork()
- Specified by:
forkin interfaceSymbolTable<java.lang.String>
-
lock
public void lock(java.lang.String name)
- Specified by:
lockin interfaceSymbolTable<java.lang.String>
-
release
public void release(java.lang.String name)
- Specified by:
releasein interfaceSymbolTable<java.lang.String>
-
getCapacity
public int getCapacity()
-
-