uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject Re: Generics and FSIndex
Date Mon, 08 Jun 2009 11:39:01 GMT
2009/6/8 Jörn Kottmann <kottmann@gmail.com>

> Hello,
>
> right now every FSIndex uses FeatureStructure as the generics parameter for
> the Iterator it can provide. That means that the AnnoationIndex also must
> provide
> an FeatureStructure Iterator and not an AnnotationFS Iterator which would
> be much
> nicer in client code.
>
> I would like to suggest to change the generic parameter of the Iterator to
> ? extends FeatureStructure, then AnnotationIndex can reduce it to
> AnnotationFS.


I agree


>
>
> Would do others think ?
>
> Jörn
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message