Kotlin HashSet iterator()
Syntax & Examples
Syntax of HashSet.iterator()
The syntax of HashSet.iterator() function is:
fun iterator(): MutableIterator<E>
This iterator() function of HashSet returns an iterator over the elements of this object.