語言

AtomicLong.IntValue 方法

定義

在經過縮小的原始轉換後,回傳此值AtomicLongint的當前值,並帶有記憶效應,由 所指定VarHandle#getVolatile。

[Android.Runtime.Register("intValue", "()I", "GetIntValueHandler")]
public override int IntValue();
[<Android.Runtime.Register("intValue", "()I", "GetIntValueHandler")>]
override this.IntValue : unit -> int

傳回

當前值為 int。

屬性

備註

在經過縮小的原始轉換後,回傳此值AtomicLongint的當前值,並帶有記憶效應,由 所指定VarHandle#getVolatile。

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

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

適用於