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. Jörn