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

Inheritance diagram for org::apache::uima::cas::impl::ShortHeap:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::cas::impl::ShortHeap:
Collaboration graph
[legend]

List of all members.

Protected Member Functions

void reinit (short[] shortHeap)

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

Package Attributes

short[] heap

Detailed Description

Encapsulate 16 bit storage for a CAS.HEAP_CELL_SIZE

Definition at line 27 of file ShortHeap.java.


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

Generated by  Doxygen 1.6.0   Back to index