forEach

inline fun forEach(block: (element: E) -> Unit)

Iterates over every element stored in this set by invoking the specified block lambda.

Parameters

block

called with each element in the set