共用方式為


LongSummaryStatistics.Accept Method

Definition

Overloads

Accept(Int32)

Records a new int value into the summary information.

Accept(Int64)

Records a new long value into the summary information.

Accept(Int32)

Records a new int value into the summary information.

[Android.Runtime.Register("accept", "(I)V", "GetAccept_IHandler", ApiSince=24)]
public virtual void Accept (int value);
[<Android.Runtime.Register("accept", "(I)V", "GetAccept_IHandler", ApiSince=24)>]
abstract member Accept : int -> unit
override this.Accept : int -> unit

Parameters

value
Int32

the input value

Implements

Attributes

Remarks

Records a new int value into the summary information.

Java documentation for java.util.LongSummaryStatistics.accept(int).

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

Accept(Int64)

Records a new long value into the summary information.

[Android.Runtime.Register("accept", "(J)V", "GetAccept_JHandler", ApiSince=24)]
public virtual void Accept (long value);
[<Android.Runtime.Register("accept", "(J)V", "GetAccept_JHandler", ApiSince=24)>]
abstract member Accept : int64 -> unit
override this.Accept : int64 -> unit

Parameters

value
Int64

the input value

Implements

Attributes

Remarks

Records a new long value into the summary information.

Java documentation for java.util.LongSummaryStatistics.accept(long).

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