lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Pannell <steven.pann...@zooplus.com>
Subject Why is Document final?
Date Fri, 23 Dec 2005 10:00:27 GMT
Hi,

Can someone please tell my why the Document class has no interface and is
final?

I want to create some documents that have some standard fields (eg: creation
date), and I don't want to keep repeating my code.  This way I ensure some
standard conventions in all my documents.

What's the reason behind this? What's the argument against making an
interface and not having the document final?

look forward to some replies.
thanks
Steve.


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


Mime
View raw message