共用方式為


AtomicLong 建構函式

定義

多載

AtomicLong()

建立具有初始值 0的新 AtomicLong。

AtomicLong(Int64)

建立具有指定初始值的新 AtomicLong。

AtomicLong(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

AtomicLong()

建立具有初始值 0的新 AtomicLong。

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

備註

建立具有初始值 0的新 AtomicLong。

java.util.concurrent.atomic.AtomicLong.AtomicLong()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

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.util.concurrent.atomic.AtomicLong.AtomicLong(long)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

AtomicLong(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

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

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於