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: CasManager.getCasInterface
Date Fri, 21 Aug 2009 11:30:35 GMT
Right now its declared as

AbstractCas getCasInterface(CAS cas, Class<? extends AbstractCas> 
requiredInterface);

but I think it should be

<T extends AbstractCas> T getCasInterface(CAS cas, Class<? extends 
AbstractCas> requiredInterface);

I will change it if there are no objections.

Jörn

Mime
View raw message