|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.util.list.ElementList
org.basex.query.util.ExprList
public final class ExprList
This is a simple container for expressions.
Field Summary |
---|
Fields inherited from class org.basex.util.list.ElementList |
---|
factor, size |
Constructor Summary | |
---|---|
ExprList()
Default constructor. |
|
ExprList(Expr c)
Constructor, specifying an initial entry. |
|
ExprList(int c)
Constructor, specifying an initial array capacity. |
Method Summary | |
---|---|
void |
add(Expr e)
Adds an element to the array. |
Expr[] |
finish()
Returns an array with all elements. |
Expr |
get(int p)
Returns the specified element. |
void |
set(int i,
Expr e)
Sets an element at the specified index position. |
Methods inherited from class org.basex.util.list.ElementList |
---|
isEmpty, newSize, newSize, reset, size, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprList()
public ExprList(int c)
c
- array capacitypublic ExprList(Expr c)
c
- array capacityMethod Detail |
---|
public Expr get(int p)
p
- position
public void add(Expr e)
e
- element to be addedpublic void set(int i, Expr e)
i
- indexe
- element to be setpublic Expr[] finish()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |