iterator property

Iterator<E> iterator

Provides an iterator that iterates over the elements of this set.

The order of iteration is unspecified, but consistent between changes to the set.

Implementation

Iterator<E> get iterator;