Udostępnij za pośrednictwem


IBaseStream.Parallel Method

Definition

Returns an equivalent stream that is parallel.

[Android.Runtime.Register("parallel", "()Ljava/util/stream/BaseStream;", "GetParallelHandler:Java.Util.Streams.IBaseStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public Java.Lang.Object? Parallel ();
[<Android.Runtime.Register("parallel", "()Ljava/util/stream/BaseStream;", "GetParallelHandler:Java.Util.Streams.IBaseStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Parallel : unit -> Java.Lang.Object

Returns

a parallel stream

Attributes

Remarks

Returns an equivalent stream that is parallel. May return itself, either because the stream was already parallel, or because the underlying stream state was modified to be parallel.

This is an intermediate operation.

Java documentation for java.util.stream.BaseStream.parallel().

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.

Applies to