ArraySet.ForEach(IConsumer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs the given action for all elements in the stored order.
[Android.Runtime.Register("forEach", "(Ljava/util/function/Consumer;)V", "", ApiSince=33)]
public void ForEach (Java.Util.Functions.IConsumer? action);
[<Android.Runtime.Register("forEach", "(Ljava/util/function/Consumer;)V", "", ApiSince=33)>]
abstract member ForEach : Java.Util.Functions.IConsumer -> unit
override this.ForEach : Java.Util.Functions.IConsumer -> unit
Parameters
- action
- IConsumer
The action to be performed for each element
Implements
- Attributes
Remarks
Performs the given action for all elements in the stored order. This implementation overrides the default implementation to avoid using the #iterator()
.
Java documentation for android.util.ArraySet.forEach(java.util.function.Consumer<? super E>)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.