can anyone tell me whats up with this code?pleeeaaassseeee

public class Indexer

{

Map<String, Set><Integer>> index;

// constructor

public Indexer()

{

index = new TreeMap <String, Set><Integer>>();

}

public String getEntry(String keyword)

{

String result = keyword;

Set<Integer> set = index.get(keyword);

for(int i = 0;i < set.size();i++)

{

result += ", " + set.get(i);

}

return result;

}

}

can anyone help me in figuring out how to make this work? il be extremely greatfull if anyone can help,thanks

[601 byte] By [blaea] at [2007-11-27 8:28:59]
# 1
Crosspost: http://forum.java.sun.com/thread.jspa?threadID=5187150
Hippolytea at 2007-7-12 20:19:09 > top of Java-index,Java Essentials,New To Java...