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 2015/03/21 16:38:38 UTC

[jira] [Updated] (UIMA-4299) improve generics for UIMA indexes and iterators

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

Marshall Schor updated UIMA-4299:
---------------------------------
    Description: 
When the JCas is being used, there are Java classes for UIMA types.  
Each index definition is associated with a top-most type in the type hierarchy.

Indexes are used to create iterators of various kinds; some of these iterators are defined within classes which implement Iterable.  

Add generic mechanisms to the Indexes and iterators to support Iterables whose elements are JCas types. 

Update the APIs that get indexes over particular types to allow specifying those types by the type class, and use this for generic typing, so casts are not necessary for user code.

> improve generics for UIMA indexes and iterators
> -----------------------------------------------
>
>                 Key: UIMA-4299
>                 URL: https://issues.apache.org/jira/browse/UIMA-4299
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.7.0SDK
>            Reporter: Marshall Schor
>            Priority: Minor
>             Fix For: 2.7.1SDK
>
>
> When the JCas is being used, there are Java classes for UIMA types.  
> Each index definition is associated with a top-most type in the type hierarchy.
> Indexes are used to create iterators of various kinds; some of these iterators are defined within classes which implement Iterable.  
> Add generic mechanisms to the Indexes and iterators to support Iterables whose elements are JCas types. 
> Update the APIs that get indexes over particular types to allow specifying those types by the type class, and use this for generic typing, so casts are not necessary for user code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)