Ok, I see that TransformedListIterator still returns
original objects, not the transformed ones, so the
suggested change is not applicable.
Is it possible to make methods iterator, listIterator
return iterators over transformed objects, not the
original ones, e.g. with using TransformIterator?
Ano
Currently TransformedList does not redefine iterator()
method and as result returns iterator for original,
not transformed objects. The same problem probably
exists for other Transformed* collections.
Shouldn't this class return TransformedListIterator
instead with following change:
@@ -115,6 +11