I was adding/refactoring the Collections test framework, and I notice that:

 (new FastArrayList()).equals(new FastArrayList())

returns false.

I also notice Craig's javadoc comment that equals is not overridden, so
that's no surprise.  

But why is that?  Have we just not gotten around to defining equals, or is
there some design reason I'm missing for not supporting it?  I guess it's a
little tricky when we want to avoid synchronization?  Same for hashCode?  Is
there an appropriate way of defining these in keeping with the
java.util.List contract?

 - Rod

Reply via email to