abstract fun all(action: Action<in T>): Unit
Executes the given action against all objects in this collection, and any objects subsequently added to this collection.
action
- The action to be executed
abstract fun all(action: Closure<Any>): Unit
Executes the given closure against all objects in this collection, and any objects subsequently added to this collection. The object is passed to the closure as the closure delegate. Alternatively, it is also passed as a parameter.