commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil O'Toole <neiloto...@yahoo.com>
Subject [collections] [patch] List & Set equals() and hashCode() implementations
Date Sun, 23 Mar 2003 05:23:42 GMT

These patches provides implementations of equals() and hashCode() for
Set and List, as per their contracts. These are useful if you are
writing a Set or List implementation that is not a subclass of
AbstractSet or AbstractList (which provides these implementations). The
operations are equivalent to the AbstractSet/List implementations
(obviously...). Test cases also provided.

- Neil O'Toole
Mime
View raw message