On Thu, 13 Sep 2001 23:15, Eung-ju Park wrote:
> Why use "boolean equals( final Version other )"
> instead of "boolean equals( final Object other )"?
Well I like the type safety, however you could also easily implement
public boolean equals( final Object other )
{
if( other instanceof Version ) return equals( (Version)other );
else return false;
}
--
Cheers,
Pete
"abandon all hope , ye who enter here" - dante, inferno
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]