lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wang <>
Subject final Token
Date Thu, 08 Jul 2004 15:48:31 GMT
Hi gurus:

Please forgive some more of my ignorant questions :)

The Token class is declared as final. 

The tokenizers and the analyzers I am writing produce token objects
with more information encapsulated than the Token class defined in

So it makes sense to me to be able to derive from it. 

I see that even within the Lucene API, classes such as
org.apache.lucene.analysis.standard.Token are created and the
corresponding Tokenizers are customized maybe because of this

Am I missing something? Can this class be "unfinaled"? 



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message