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] [Updated] (UIMA-140) It would be nice if all the arrays, lists, iterators, etc in UIMA implemented the standard Java Collection package interfaces.
Date Fri, 09 Sep 2016 17:49:22 GMT

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

Richard Eckart de Castilho updated UIMA-140:
--------------------------------------------
    Labels: Stale  (was: )

This issue is marked as "stale" due to inactivity for 5 years or longer. If no further activity
is detected on this issue, it is scheduled be closed as 'unresolved' in 3 months time from
now (Dec 2016).

>  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 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
(v6.3.4#6332)

Mime
View raw message