This is more of a theoretical question. If I have an arbitrary collection c
that isn't ordered and I obtain two java.util.Iterator
s by calling c.iterator()
twice, do both iterators have to return c
's elements in the same order?
I mean, in practice they probably always will, but are they forced to do so by contract?
Thanks, Jan