Iterator has .next(), is there a way to get the current 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
11:58 UTC
Read the original article
Hit count: 194
Hiya. 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 iteratoring through the keyset of the hashmap
© Stack Overflow or respective owner