sandy
sandy

Reputation: 1

Accessing same Iterator list from different classes

I have a class that adds/removes items to an iterator, is it possible to access those items of that same list from a separate class?

Upvotes: 0

Views: 42

Answers (1)

Dave Newton
Dave Newton

Reputation: 160191

Sure, as long as you have a reference to the list, or references to the individual items of interest.

Upvotes: 1

Related Questions