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 2017/02/07 20:31:41 UTC

[jira] [Updated] (UIMA-5278) uv3 empty iterator for FS collections over primitives wrong type

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

Marshall Schor updated UIMA-5278:
---------------------------------
    Description: 
v3 has iterators for collections over primitive types (e.g. IntegerList, IntegerArrayList, IntegerArray, LongArray, etc.) which support the Java 8 API PrimitiveIterator.  But the code for supplying the "empty" version doesn't support this API.
This applies only to IntegerList, because only UIMA XyzList forms have "empty" versions, and Xyz = Integer, Float, String, and FS, and only Integer has a iterator subtype in PrimitiveIterator. 

Also, some impls over primitive collections having XXXConsumers defined for functional interfaces are missing support for those in forEach().  Applies to DoubleArray, LongArray, IntegerArray, IntegerArrayList.

  was:
v3 has iterators for collections over primitive types (e.g. IntegerList, IntegerArrayList, IntegerArray, LongArray, etc.) which support the Java 8 API PrimitiveIterator.  But the code for supplying the "empty" version doesn't support this API. 

Also, some impls over primitive collections having XXXConsumers defined for functional interfaces are missing support for those in forEach().


> uv3 empty iterator for FS collections over primitives wrong type
> ----------------------------------------------------------------
>
>                 Key: UIMA-5278
>                 URL: https://issues.apache.org/jira/browse/UIMA-5278
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 3.0.0SDK-alpha
>            Reporter: Marshall Schor
>             Fix For: 3.0.0SDK-beta
>
>
> v3 has iterators for collections over primitive types (e.g. IntegerList, IntegerArrayList, IntegerArray, LongArray, etc.) which support the Java 8 API PrimitiveIterator.  But the code for supplying the "empty" version doesn't support this API.
> This applies only to IntegerList, because only UIMA XyzList forms have "empty" versions, and Xyz = Integer, Float, String, and FS, and only Integer has a iterator subtype in PrimitiveIterator. 
> Also, some impls over primitive collections having XXXConsumers defined for functional interfaces are missing support for those in forEach().  Applies to DoubleArray, LongArray, IntegerArray, IntegerArrayList.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)