Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Protected Member Functions | Protected Attributes | Static Protected Attributes | Package Functions | Package Attributes

org::apache::uima::cas::impl::ByteHeap Class Reference

Inheritance diagram for org::apache::uima::cas::impl::ByteHeap:
Inheritance graph
Collaboration diagram for org::apache::uima::cas::impl::ByteHeap:
Collaboration graph

List of all members.

Protected Member Functions

void reinit (byte[] byteHeap)

Protected Attributes

final int heapBaseSize
final int heapMultLimit
int heapPos = FIRST_CELL_REF

Static Protected Attributes

static final int DEFAULT_HEAP_BASE_SIZE = 16
static final int DEFAULT_HEAP_MULT_LIMIT = 1024
static final int FIRST_CELL_REF = 1
static final int GROWTH_FACTOR = 2
static final int MIN_HEAP_BASE_SIZE = 16
static final int NULL = 0

Package Functions

int addByte (byte val)
 ByteHeap (int heapBaseSize, int heapMultLimit)
int computeNewArraySize (int size, int needed_size, int growth_factor, int multiplication_limit)
byte getHeapValue (int offset)
int getSize ()
void growHeapIfNeeded ()
final void initMemory ()
int reserve (int numCells)
void reset ()
void reset (boolean doFullReset)
void resetToZeros ()
void setHeapValue (byte val, int pos)

Package Attributes

byte[] heap

Detailed Description

Encapsulate 8 bit storage for the CAS.

Definition at line 27 of file ByteHeap.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index