So what do they use?

-----
Peter Verkest


---------------------------------------- Message History  
----------------------------------------


From: Evan Ireland <[EMAIL PROTECTED]>@java.sun.com> on 13.07.2001 09:32 ZE12

Please respond to Evan Ireland <[EMAIL PROTECTED]>

DELEGATED - Sent by:     A mailing list for Enterprise JavaBeans development 
<[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Class Primary Key


Hemant Khandelwal wrote:
>
> Hi Alvaro,
>
> Besides people obtaining a safe way to implement these methods, they also
> need to understand why these methods are necessary. hascode() and equals()
> method are used by the hash containers (HashMap, HashSet, HashTable) to
> provide faster access to the values in them. Such hash containers are used
> by server implementation at different places.

Including 'nowhere'. Some servers do not need to use hashCode and equals
on primary key classes.

--
________________________________________________________________________________

Evan Ireland              Sybase EAServer Engineering        [EMAIL PROTECTED]
                            Wellington, New Zealand               +64 4 934-5856

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".




--

Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn 
Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.
==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to