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::LongHeap Class Reference

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

List of all members.

Protected Member Functions

void reinit (long[] longHeap)

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 addLong (long val)
int computeNewArraySize (int size, int needed_size, int growth_factor, int multiplication_limit)
long getHeapValue (int offset)
int getSize ()
void growHeapIfNeeded ()
final void initMemory ()
 LongHeap (int heapBaseSize, int heapMultLimit)
int reserve (int numCells)
void reset ()
void reset (boolean doFullReset)
void resetToZeros ()
void setHeapValue (long val, int pos)

Package Attributes

long[] heap

Detailed Description

Encapsulate 64 bit storage for a CAS.

Definition at line 27 of file LongHeap.java.

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

Generated by  Doxygen 1.6.0   Back to index