commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McCallister <mccallis...@forthillcompany.com>
Subject Fwd: [PATCH] [collections] CompositeSet and CompositeMap
Date Fri, 28 Nov 2003 18:45:40 GMT
Accidentally sent this to User instead of Dev, sorry about that.

-Brian

> From: Brian McCallister <mccallister@forthillcompany.com>
> Date: Fri Nov 28, 2003  1:44:50 PM US/Eastern
> To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
> Subject: [PATCH] [collections] CompositeSet and CompositeMap
> Reply-To: "Jakarta Commons Users List"  
> <commons-user@jakarta.apache.org>
>
> 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/CompositeMap.java
> ? src/java/org/apache/commons/collections/set/CompositeSet.java
> ? src/test/org/apache/commons/collections/map/TestCompositeMap.java
> ? src/test/org/apache/commons/collections/set/TestCompositeSet.java
>
> Modified Files (attached patch) :
> M  
> src/java/org/apache/commons/collections/collection/ 
> CompositeCollection.java
> M src/test/org/apache/commons/collections/map/TestAll.java
> M src/test/org/apache/commons/collections/set/TestAll.java
>
> -Brian
>

Mime
View raw message