I am looking for a Map implementation that assumes its values are
Collection objects.
The only extra functionality I am looking for above and beyond the Map
interface is for the Map to have a contains method that returns a boolean
indicating whether any of the collections within the map contains the
argument of the contains method.
========================================
//Example
FancyMap fm = new FancyMap();
Collection col1 = new ArrayList();
col1.add("jimmy");
col1.add("was");
col1.add("here");
Collection col2 = new ArrayList();
col2.add("gonzo's");
col2.add("big"):
col2.add("nose");
fm.add(col1);
fm.add(col2);
boolean wordFound = fm.contains("jimmy");
==========================================
James Lee Carpenter
Software Engineer
Household Technical Services
6602 Convoy Court
San Diego, CA 92111
ph: 858-609-2461
email: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>