uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject generics: AnalysisComponent.getRequiredCasInterface();
Date Wed, 19 Aug 2009 17:30:02 GMT
Is that the correct generification?
Class<? extends AbstractCas> getRequiredCasInterface();

Implementing classes can then specify the concrete return
type.

For example:
Class<JCas> JCasAnnotator_ImplBase.getRequiredCasInterface()
Class<CAS> CasAnnotator_ImplBase.getRequiredCasInterface()

Jörn


Mime
View raw message