Danai Wiriyayanyongsuk wrote:
Hi Folks,
I'm trying to understand how the Heap class works and would like to ask few
questions as followed:
1) Is the following statement correct?
"The class org.apache.uima.cas.impl.Heap has an internal integer array named
"heap" which maintains the type system structure. The required space for the
"heap" is solely depends on the type system structure (basically, number of
features). It does not depend on, say, the size of String (or any) arrays or
the length of the document text (Sofa)."
Actually, the heap is used to store all kinds of things, but most
particularly, instances of feature structures made
by your application, such as annotations, etc.
-Marshall