lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wang <john.w...@gmail.com>
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
lucene.

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
limitation.

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

Thanks

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message