Package org.basex.query.var
Class VarStack
Variable stack.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen, Leo Woerteler
-
Field Summary
Fields inherited from class org.basex.util.list.ObjectList
listFields inherited from class org.basex.util.list.ElementList
factor, size -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.basex.util.list.ObjectList
add, add, add, addUnique, contains, equals, equals, finish, get, insert, iterator, next, peek, pop, push, remove, removeAll, removeAll, set, sort, toArray, toString, uniqueMethods inherited from class org.basex.util.list.ElementList
isEmpty, newCapacity, newCapacity, reset, size, sizeMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
VarStack
public VarStack()Default constructor.
-
-
Method Details
-
get
Returns a variable with the specified name; should only be used while parsing, because it ignores the ids of variables.- Parameters:
name- variable name- Returns:
- variable or
null
-
newArray
Description copied from class:ObjectListCreates a resized array.- Specified by:
newArrayin classObjectList<Var,VarStack> - Parameters:
s- size- Returns:
- array
-