[
https://issues.apache.org/jira/browse/UIMA-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thilo Goetz closed UIMA-301.
----------------------------
Resolution: Fixed
Fix Version/s: 2.3
All CAS array types now inherit from org.apache.uima.cas.CommonArrayFS.
Marshall, I had to make some minor changes to JCAS types. Please check.
> 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
> Assignee: Thilo Goetz
> Priority: Minor
> Fix For: 2.3
>
>
> 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.