Table of Contents

Class AtomicInteger

Namespace
Java.Util.Concurrent.Atomic
Assembly
MASES.JNet.dll
public class AtomicInteger : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
AtomicInteger
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

AtomicInteger()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public AtomicInteger()

AtomicInteger(int)

public AtomicInteger(int arg0)

Parameters

arg0 int

int

AtomicInteger(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public AtomicInteger(params object[] args)

Parameters

args object[]

Properties

Acquire

public int Acquire { get; }

Property Value

int

AndDecrement

public int AndDecrement { get; }

Property Value

int

AndIncrement

public int AndIncrement { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Opaque

public int Opaque { get; set; }

Property Value

int

Plain

public int Plain { get; set; }

Property Value

int

Methods

AccumulateAndGet(int, IntBinaryOperator)

public int AccumulateAndGet(int arg0, IntBinaryOperator arg1)

Parameters

arg0 int

int

arg1 IntBinaryOperator

IntBinaryOperator

Returns

int

int

AddAndGet(int)

public int AddAndGet(int arg0)

Parameters

arg0 int

int

Returns

int

int

CompareAndExchange(int, int)

public int CompareAndExchange(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

CompareAndExchangeAcquire(int, int)

public int CompareAndExchangeAcquire(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

CompareAndExchangeRelease(int, int)

public int CompareAndExchangeRelease(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

int

int

CompareAndSet(int, int)

public bool CompareAndSet(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

DecrementAndGet()

public int DecrementAndGet()

Returns

int

int

Get()

public int Get()

Returns

int

int

GetAndAccumulate(int, IntBinaryOperator)

public int GetAndAccumulate(int arg0, IntBinaryOperator arg1)

Parameters

arg0 int

int

arg1 IntBinaryOperator

IntBinaryOperator

Returns

int

int

GetAndAdd(int)

public int GetAndAdd(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetAndSet(int)

public int GetAndSet(int arg0)

Parameters

arg0 int

int

Returns

int

int

GetAndUpdate(IntUnaryOperator)

public int GetAndUpdate(IntUnaryOperator arg0)

Parameters

arg0 IntUnaryOperator

IntUnaryOperator

Returns

int

int

IncrementAndGet()

public int IncrementAndGet()

Returns

int

int

LazySet(int)

public void LazySet(int arg0)

Parameters

arg0 int

int

Set(int)

public void Set(int arg0)

Parameters

arg0 int

int

SetRelease(int)

public void SetRelease(int arg0)

Parameters

arg0 int

int

UpdateAndGet(IntUnaryOperator)

public int UpdateAndGet(IntUnaryOperator arg0)

Parameters

arg0 IntUnaryOperator

IntUnaryOperator

Returns

int

int

WeakCompareAndSetAcquire(int, int)

public bool WeakCompareAndSetAcquire(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

WeakCompareAndSetPlain(int, int)

public bool WeakCompareAndSetPlain(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

WeakCompareAndSetRelease(int, int)

public bool WeakCompareAndSetRelease(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

WeakCompareAndSetVolatile(int, int)

public bool WeakCompareAndSetVolatile(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool