You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Arnaud Bailly <ab...@norsys.fr> on 2005/11/17 20:29:50 UTC

[PATCH] collections : a StrictMap implementation

Hi folks,
May be someone else will be interested by the attached patch: it is a 
MapDecorator that makes it strict. In a strict map, you can't add 
something with the same key twice in a row without a remove in between.
There is a corresponding  junit test attached.

Regards

-- 
Arnaud Bailly - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr