jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <asm...@yahoo.com>
Subject Re: CacheElement.hashCode
Date Wed, 01 Oct 2008 16:56:11 GMT
What are you talking about?  What "fundamental rule"?  The contract that you should obey is
that if you return equal, then you should return the same hashcode.  But two uneq


--- On Tue, 9/30/08, Tore Halset <halset@pvv.ntnu.no> wrote:

> From: Tore Halset <halset@pvv.ntnu.no>
> Subject: CacheElement.hashCode
> To: "JCS Users List" <jcs-users@jakarta.apache.org>
> Date: Tuesday, September 30, 2008, 11:33 PM
> Hello.
> 
> I see that CacheElement implements hashCode, but not
> equals. Why break  
> this fundamental rule?
> 
>   - Tore.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jcs-users-help@jakarta.apache.org

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


Mime
View raw message