Hi,

what is the benefit of extending the support for these "native" arrays that
you describe as opposed to leaving them as they are in favor of the supported
ArrayFS / FSArray approach? 

Afaik, the "elementType" metadata should be available
for any multi-valued type (ArrayFS and friends, FSArray and friends, FSList and 
friends
ListFS and friends). I didn't think it was limited to "native" arrays.

Cheers,

-- Richard

> On 20.04.2016, at 21:38, Marshall Schor <[email protected]> wrote:
> 
> To actually create instances of these types seems not quite implemented.  To
> create an array, the API needs to include the array length.  Looking at the
> non-JCas APIs, we have in the CAS Interface methods for creating arrays:
> 
> createBooleanArray(length)
> createStringArray(length)
>  etc.
> createArrayFS(length)
> 
> but there's no
> 
> createArray(type, length)
> 
> The LowLevelCAS interface has this though:
> 
> ll_createArray(type, length)

Reply via email to