語言

AtomicLong 建構函式

定義

多載

名稱 Description
AtomicLong()

建立一個初始值 0為 的新 AtomicLong 。

AtomicLong(Int64)

建立一個以給定初始值的新 AtomicLong。

AtomicLong(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

AtomicLong()

建立一個初始值 0為 的新 AtomicLong 。

[Android.Runtime.Register(".ctor", "()V", "")]
public AtomicLong();
屬性

備註

建立一個初始值 0為 的新 AtomicLong 。

Java 文件 java.util.concurrent.atomic.AtomicLong.AtomicLong()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AtomicLong(Int64)

建立一個以給定初始值的新 AtomicLong。

[Android.Runtime.Register(".ctor", "(J)V", "")]
public AtomicLong(long initialValue);
[<Android.Runtime.Register(".ctor", "(J)V", "")>]
new Java.Util.Concurrent.Atomic.AtomicLong : int64 -> Java.Util.Concurrent.Atomic.AtomicLong

參數

initialValue
Int64

初始值

屬性

備註

建立一個以給定初始值的新 AtomicLong。

Java 文件 java.util.concurrent.atomic.AtomicLong.AtomicLong(long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

AtomicLong(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

protected AtomicLong(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.Atomic.AtomicLong : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.Atomic.AtomicLong

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於