uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (Jira)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-140) It would be nice if all the arrays, lists, iterators, etc in UIMA implemented the standard Java Collection package interfaces.
Date Tue, 15 Sep 2020 16:56:00 GMT

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

Richard Eckart de Castilho closed UIMA-140.
-------------------------------------------
    Resolution: Abandoned

Closing this as abandoned.

In any case, I believe that this might be mostly superseded by the select framework in UIMAv3
these days.

>  It would be nice if all the arrays, lists, iterators, etc in UIMA implemented the standard
Java Collection package interfaces.
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-140
>                 URL: https://issues.apache.org/jira/browse/UIMA-140
>             Project: UIMA
>          Issue Type: Wish
>          Components: Core Java Framework
>            Reporter: Adam P. Lally
>            Priority: Minor
>              Labels: Stale
>
> This was left as a comment under UIMA-25.  Opening under a new issue since it is a separate
topic:
> > Greg Holmberg commented on UIMA-25:
> > -----------------------------------
> >
> > This may not be exactly what Marshall is referring to, but I found it surprising
that FSArray doesn't provide or implement FSIterator.
> >
> > An FSArrayIterator class would be easy to implement.  Keep an int that indexes the
array.  hasNext() checks if the index is less than the size, next() does an array.get() on
the index and increments it.  And so on.
> >
> > In general, it would be nice if all the arrays, lists, iterators, etc in UIMA implemented
the standard Java Collection package interfaces.  Even better if UIMA moved to Java 5 and
parameterized its collection classes with the member type (i.e. use generics).
> See other discussion here: http://www.mail-archive.com/uima-dev@incubator.apache.org/msg00600.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message