Re: Generics and FSIndex

2009-06-24 Thread Jörn Kottmann
Adam Lally wrote: FYI, a while back I posted some code we could consider adding for JCAS that allow you to get iterators parameterized by specific JCAS types: http://www.mail-archive.com/uima-dev@incubator.apache.org/msg04657.html It might be interesting to consider adding something like that di

Re: Generics and FSIndex

2009-06-10 Thread Jörn Kottmann
Adam Lally wrote: FYI, a while back I posted some code we could consider adding for JCAS that allow you to get iterators parameterized by specific JCAS types: http://www.mail-archive.com/uima-dev@incubator.apache.org/msg04657.html It might be interesting to consider adding something like that di

Re: Generics and FSIndex

2009-06-10 Thread Thilo Goetz
Sounds good to me. --Thilo Adam Lally wrote: > FYI, a while back I posted some code we could consider adding for JCAS > that allow you to get iterators parameterized by specific JCAS types: > http://www.mail-archive.com/uima-dev@incubator.apache.org/msg04657.html > > It might be interesting to c

Re: Generics and FSIndex

2009-06-09 Thread Adam Lally
FYI, a while back I posted some code we could consider adding for JCAS that allow you to get iterators parameterized by specific JCAS types: http://www.mail-archive.com/uima-dev@incubator.apache.org/msg04657.html It might be interesting to consider adding something like that directly on the JCAS i

Re: Generics and FSIndex

2009-06-09 Thread Jörn Kottmann
Thilo Goetz wrote: Jörn Kottmann wrote: 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

Re: Generics and FSIndex

2009-06-08 Thread Thilo Goetz
Jörn Kottmann wrote: > 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 cli

Re: Generics and FSIndex

2009-06-08 Thread Tommaso Teofili
2009/6/8 Jörn Kottmann > 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 cl

Generics and FSIndex

2009-06-08 Thread Jörn Kottmann
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