commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael A. Smith" <...@apache.org>
Subject Re: [PATCH][Collections] SequencedHashMap: equals, hashCode, toString
Date Fri, 24 May 2002 04:01:37 GMT
On Thu, 23 May 2002, Jack, Paul wrote:
> Index: SequencedHashMap.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-commons/collections/src/java/org/apache/commons/coll
> ections/SequencedHashMap.java,v
> retrieving revision 1.9
> diff -r1.9 SequencedHashMap.java
> 100c100
> < public class SequencedHashMap implements Map, Cloneable, Externalizable {
> ---
> > public class SequencedHashMap extends AbstractMap implements Map,
> Cloneable, Externalizable {

Extending AbstractMap is not the right way to add an equals, hashcode and 
toString method.  I just committed real implementations for the methods.

regards,
michael



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message