posted 18 years ago
say i have a Map, a HashMap
and its key is a bunch of Integer and the values is a List of strings. i.e.
then i have a Set that stores a list and it looks like this:
from the above set we can see that in the first list is ["A", "B", "C", "D", "F", "G" ]
and this list belongs matchest the value in the map with the key 1 and 3.
for the second list in the set ["A", "B", "E", "D", "F", "G"], this list matchest the value in the map with the key 2 and 3
i've built up a rough code to build the map and the setOfList, see code,
anyone can help me solve this,
thanks
[ October 03, 2006: Message edited by: Firman Drage ]