uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: generics: getViewIterator
Date Sat, 08 Aug 2009 21:14:34 GMT
Hi,

On Fri, Aug 7, 2009 at 8:57 PM, Marshall Schor<msa@schor.com> wrote:
> Would it be better to have that form of the signature?

I don't know much about UIMA patterns, but in general something like
that seems a bit questionable to me. Where's the part of the API that
says that the client can expect CASImpl objects from the returned
Iterator?

On a related note, have you considered using Iterables instead of
Iterators? They make the looping constructs much nicer.

BR,

Jukka Zitting

Mime
View raw message