commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael A. Smith" <>
Subject RE: [PATCH][Collections] SequencedHashMap: equals, hashCode, toSt ring
Date Fri, 24 May 2002 20:07:39 GMT
On Fri, 24 May 2002, Jack, Paul wrote:
> > Extending AbstractMap is not the right way to add an equals, 
> > hashcode and 
> > toString method.  I just committed real implementations for 
> > the methods.
> Was there something wrong with AbstractMap's implementations,
> or did you just want to keep SequencedHashMap's superclass
> as Object?  I'm just wondering if there's something my 
> unit tests aren't catching...

Just wanted to keep the superclass as Object.  I suppose it doesn't make 
that much of a difference really, so my statement on it being "not the 
right way" is probably a bit harsh.  Sorry about that.  :)


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message