You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2009/08/13 00:57:15 UTC
svn commit: r803736 -
/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java
Author: joern
Date: Wed Aug 12 22:57:15 2009
New Revision: 803736
URL: http://svn.apache.org/viewvc?rev=803736&view=rev
Log:
UIMA-1489
Modified:
incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java
Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java?rev=803736&r1=803735&r2=803736&view=diff
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java Wed Aug 12 22:57:15 2009
@@ -35,7 +35,7 @@
* @return The index with the name <code>label</code>, or <code>null</code> if no such index
* is defined.
*/
- FSIndex getIndex(String label);
+ FSIndex<FeatureStructure> getIndex(String label);
/**
* Retrieve an index according to a label and a type. The type is used to narrow down the index of
@@ -48,7 +48,7 @@
* @return The specified, or <code>null</code> if an index with that name doesn't exist.
* @exception CASRuntimeException When <code>type</code> is not a subtype of the index's type.
*/
- FSIndex getIndex(String label, Type type) throws CASRuntimeException;
+ FSIndex<FeatureStructure> getIndex(String label, Type type) throws CASRuntimeException;
/**
* Get all labels for all indexes.
@@ -62,7 +62,7 @@
*
* @return All indexes.
*/
- Iterator<FSIndex> getIndexes();
+ Iterator<FSIndex<FeatureStructure>> getIndexes();
/**
* Add a feature structure to all appropriate indexes in the repository. If no indexes exist for
@@ -105,5 +105,5 @@
* @return An iterator that returns all indexed FeatureStructures of type <code>aType</code>,
* in no particular order.
*/
- FSIterator getAllIndexedFS(Type aType);
+ FSIterator<FeatureStructure> getAllIndexedFS(Type aType);
}