uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-301) CAS APIs should make it easier to deal with arrays of unknown element type
Date Tue, 04 Dec 2007 18:31:43 GMT

    [ https://issues.apache.org/jira/browse/UIMA-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548335
] 

Marshall Schor commented on UIMA-301:
-------------------------------------

The interfaces for all CAS array types inherit from CommonArrayFS.
The corresponding JCas types implement the corresponding interface types for the CAS array
types.

The JCas type FSArray has just stubs for some of the methods; it needs a working implementation.

The code in ArrayFSImpl is not correct: it ignores the destOffset.  Other impls should be
verified.


> CAS APIs should make it easier to deal with arrays of unknown element type
> --------------------------------------------------------------------------
>
>                 Key: UIMA-301
>                 URL: https://issues.apache.org/jira/browse/UIMA-301
>             Project: UIMA
>          Issue Type: Wish
>          Components: Core Java Framework
>            Reporter: Adam Lally
>            Priority: Minor
>             Fix For: 2.2.1
>
>
> There are several places in tools where we need to display the contents of an FS, which
could be an array.  Currently we have to iterate over all possible primivie-typed arrays in
order to access and display their elements.
> What would have been nice is a common superinterface of all the
> primitive array types, which defines a toStringArray() method. The
> toStringArray() methods are already there on the impls, but there's no
> superinterface that I can use to get at them.
> See UIMA-40 and UIMA-77.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message