|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ximpleware.extended.ContextBuffer
public class ContextBuffer
This class is used as the global stack in VTDNavHuge class. The VTDNavHuge object instantiates a context Buffer object, then everytime load/store is called, current context information gets pushed/popped to/from the ContextBuffer. Creation date: (11/16/03 4:30:45 PM)
| Field Summary | |
|---|---|
protected int |
size
|
| Constructor Summary | |
|---|---|
ContextBuffer(int i)
ContextBuffer constructor comment. |
|
ContextBuffer(int p,
int i)
ContextBuffer constructor comment. |
|
| Method Summary | |
|---|---|
void |
clear()
Set the context buffer size to zero capacity untouched |
boolean |
load(int[] output)
Pop the content value back into an integer array. |
static void |
main(String[] args)
Test the load and store functions. |
void |
store(int[] input)
Push the array content on to the stack. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int size
| Constructor Detail |
|---|
public ContextBuffer(int i)
i - int
public ContextBuffer(int p,
int i)
p - int (pageSize equals (1<i - int
| Method Detail |
|---|
public boolean load(int[] output)
output - int[]
public static void main(String[] args)
args - java.lang.String[]public void clear()
public void store(int[] input)
input - int[]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||