[pylucene-dev] stubbing generic lists?

Andi Vajda vajda at osafoundation.org
Wed Mar 5 22:05:54 PST 2008


On Wed, 5 Mar 2008, Bill Janssen wrote:

> I've got a method with the signature
>
>     List<Frob> search(Frob f) {}
>
> and I can't seem to figure out how to turn the return type into a
> Python sequence of Frob.

Sorry, Java 1.5 features are not yet taken advantage off. JCC completely 
ignores the 'generics' stuff. Why ? Lucene is not using them yet so it 
wasn't high on the list. Lucene is moving there shortly and the generics 
stuff can help in generating better code so I intend to support it in the 
not so distant future.

Andi..


More information about the pylucene-dev mailing list