uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-5278) uv3 empty iterator for FS collections over primitives wrong type
Date Tue, 07 Feb 2017 20:31:41 GMT

     [ 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)

Mime
View raw message