uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Lally <ala...@alum.rpi.edu>
Subject Re: generics: JFSIndexRepository
Date Mon, 24 Aug 2009 13:58:27 GMT
On Mon, Aug 24, 2009 at 6:55 AM, Jörn Kottmann<kottmann@gmail.com> wrote:
> public interface JFSIndexRepository {
>
>  FSIndex<TOP> getIndex(String label);
>  FSIndex<TOP> getIndex(String label, int type);
>  AnnotationIndex<Annotation> getAnnotationIndex();
>  AnnotationIndex<Annotation> getAnnotationIndex(int type);
>  Iterator<FSIndex<Top>> getIndexes();
>  FSIterator<TOP> getAllIndexedFS(Type aType);
>  FSIterator<TOP> getAllIndexedFS(int aType);
> }
>
> Is the above generification correct ?
>
> We could use FeatureStructure instead of TOP, I am not sure
> whats better.
>

Seems to me that TOP is better for JCAS, just like Annotation is
better than AnnotationFS.
  -Adam

Mime
View raw message