Iterator has .next() - is there a way to get the previous element instead of the next one?
Posted
by ufk
on Stack Overflow
See other posts from Stack Overflow
or by ufk
Published on 2010-05-05T11:47:02Z
Indexed on
2010/05/05
12:38 UTC
Read the original article
Hit count: 202
I have an Iterator that I use on a HashMap, and I save and load the iterator. is there a way to get the previous key in the HashMap with Iterator? (java.util.Iterator)
Update
I save it as an attribute in a Red5 connection and then load it back to continue working where i stopped.
Another update
I'm iterating through the keyset of the HashMap
© Stack Overflow or respective owner