Iam a newbie, I have a question.
I have a map.I have to loop through the map and build the iterator
example
public Iterable<Test> getTests(Map<String, Test> testMap,
Set<String> strings)
{
loop tru the set of strings and build iterator.
for(final String test1 : strings)
{
Test test = testMap.get(test1);
//build a iterator. not a list.
}
return iterator
}
How can I do this.
Thank You in advance.
-Sachin
I have a map.I have to loop through the map and build the iterator
example
public Iterable<Test> getTests(Map<String, Test> testMap,
Set<String> strings)
{
loop tru the set of strings and build iterator.
for(final String test1 : strings)
{
Test test = testMap.get(test1);
//build a iterator. not a list.
}
return iterator
}
How can I do this.
Thank You in advance.
-Sachin