Hello!
i use ObjectSet object in my program;
private ObjectSet <Object> result;
...
while(result.hasNext()){
System.out.println(result.next());
}
when you use result.next() i think there is a pointer to the next object in the set
but what if i need to start from the begining again? what should i do?
for example after this code:
firstobject = result.next();
...
nthobject = result.next();
i need to start from the beginig so that if i call result.next(); again the result will be firstobject again.