You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2013/04/29 22:56:15 UTC

[jira] [Updated] (UIMA-2379) can't intuit meaning of copyFromArray and copyToArray methods on FSArray

     [ https://issues.apache.org/jira/browse/UIMA-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor updated UIMA-2379:
---------------------------------

    Fix Version/s: 2.4.1SDK
         Assignee: Marshall Schor
    
> can't intuit meaning of copyFromArray and copyToArray methods on FSArray
> ------------------------------------------------------------------------
>
>                 Key: UIMA-2379
>                 URL: https://issues.apache.org/jira/browse/UIMA-2379
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.3
>            Reporter: Mike Barborak
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.4.1SDK
>
>
> Regarding this method on org.apache.uima.jcas.cas.FSArray:
> public void copyFromArray(String[] src, int srcOffset, int destOffset, int length)
> I read in the 2.3.0 documentation, "Description copied from interface: CommonArrayFS. Copy the contents of an external string array into this array. The strings are parsed and converted to floats."
> This seems incorrect.
> It also does not seem informative enough. If I have a feature that is an FSArray of feature structures, what does it mean to copy from an array of strings?
> Related is what it means to copy such an FSArray of feature structures to an array of strings. Is there some contract implied here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira