dev@fi.java.net

Re: Final methods

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 28 Feb 2005 09:00:21 +0100

Alan Hudson wrote:
> I notice that all the methods on AttributesHolder.java are final. Is
> there a reason to restrict usage in this way? I don't need to override
> them currently but I'm not sure why they are all final.
>

Final methods are just more efficient. This class is currently meant for
internal use. I have been thinking that we might need to move to the
public API area so that algorithm data can be added. Then the methods do
not necessarily need to be final.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109