| java.lang.Object com.versant.core.common.Stack
Stack | public class Stack (Code) | | A Stack implementation used by QueryResultIterator to hold values returned for query.
|
Field Summary | |
public Object[] | m_baseArray The underlying array used for storing the data. |
Constructor Summary | |
public | Stack() Default constructor. |
Method Summary | |
public void | add(Object[] data, int amountToAdd) | public void | clear() | public void | close() | public boolean | isEmpty() | public Object | pop() Pop a value from the stack. | public void | pop(int count) Pop multiple values from the stack. | public int | size() |
m_baseArray | public Object[] m_baseArray(Code) | | The underlying array used for storing the data.
|
Stack | public Stack()(Code) | | Default constructor.
|
clear | public void clear()(Code) | | |
close | public void close()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
pop | public void pop(int count)(Code) | | Pop multiple values from the stack.
Parameters: count - number of values to pop from stack (must be strictlypositive) throws: ArrayIndexOutOfBoundsException - on attempt to pop past end ofstack |
|
|