ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shackelford, John-Mason" <>
Subject RE: Looking for map with collection values with contains method a t map level
Date Mon, 16 Sep 2002 21:38:51 GMT

I would recommend looking at the jakarta commons collections project
( They have a
SequencedHashMap class that iterates very efficiently through its Mappings.
But it sounds like what you are trying do would be better served by nesting
maps. You may want to see MultiMap too. It does seem like you may just want
to nest Maps and call the containsValue / containsKey methods. 

See also

If you are striving for 1.x compatibilitym as the the tasks which ship with
Ant do, I am afraid that the commons collections classes won't do you much
good though since they build on the 1.2 collections framework.

John-Mason Shackelford

Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245

This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message