commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <>
Subject [PATCH] [collections] CompositeSet and CompositeMap
Date Fri, 28 Nov 2003 18:44:50 GMT
Attached are CompositeSet and CompositeMap implementations, along with  
unit tests and a required change to CompositeCollection to properly  
support CompositeSet.

The coarse-grained mutator made for a bit of ugliness in the  
CompositeSet implementation, but it works. I am not wholly satisfied so  
will probably hack at it some more to try to make the mutator  
implementation neater.

Please note that CompositeMap depends on CompositeSet which depends on  
CompositeCollection (including the changed version here).

New Files (attached) :
? src/java/org/apache/commons/collections/map/
? src/java/org/apache/commons/collections/set/
? src/test/org/apache/commons/collections/map/
? src/test/org/apache/commons/collections/set/

Modified Files (attached patch) :
M src/test/org/apache/commons/collections/map/
M src/test/org/apache/commons/collections/set/


View raw message