dcsimg
A quick question
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sujay_ghuge
Posted On:   Tuesday, June 17, 2003 10:15 PM

I defined an equals method, but Hashtable ignores it. Why?

Re: A quick question

Posted By:   Ivo_Limmen  
Posted On:   Tuesday, June 17, 2003 11:19 PM

Are you sure the method signature is ok? It must be

public boolean equals(Object anObject);

Using a different signature (using a string as argument for instance) will render it useless.
About | Sitemap | Contact