Table of Contents

Class AtomicReference<V>

Namespace
Java.Util.Concurrent.Atomic
Assembly
MASES.JNet.dll
public class AtomicReference<V> : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable

Type Parameters

V
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
AtomicReference<V>
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

AtomicReference()

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

public AtomicReference()

AtomicReference(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 AtomicReference(params object[] args)

Parameters

args object[]

AtomicReference(V)

public AtomicReference(V arg0)

Parameters

arg0 V

V

Properties

Acquire

public V Acquire { get; }

Property Value

V

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 V Opaque { get; set; }

Property Value

V

Plain

public V Plain { get; set; }

Property Value

V

Methods

AccumulateAndGet(V, BinaryOperator<V>)

public V AccumulateAndGet(V arg0, BinaryOperator<V> arg1)

Parameters

arg0 V

V

arg1 BinaryOperator<V>

BinaryOperator

Returns

V

V

CompareAndExchange(V, V)

public V CompareAndExchange(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

V

V

CompareAndExchangeAcquire(V, V)

public V CompareAndExchangeAcquire(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

V

V

CompareAndExchangeRelease(V, V)

public V CompareAndExchangeRelease(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

V

V

CompareAndSet(V, V)

public bool CompareAndSet(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

bool

bool

Get()

public V Get()

Returns

V

V

GetAndAccumulate(V, BinaryOperator<V>)

public V GetAndAccumulate(V arg0, BinaryOperator<V> arg1)

Parameters

arg0 V

V

arg1 BinaryOperator<V>

BinaryOperator

Returns

V

V

GetAndSet(V)

public V GetAndSet(V arg0)

Parameters

arg0 V

V

Returns

V

V

GetAndUpdate(UnaryOperator<V>)

public V GetAndUpdate(UnaryOperator<V> arg0)

Parameters

arg0 UnaryOperator<V>

UnaryOperator

Returns

V

V

LazySet(V)

public void LazySet(V arg0)

Parameters

arg0 V

V

Set(V)

public void Set(V arg0)

Parameters

arg0 V

V

SetRelease(V)

public void SetRelease(V arg0)

Parameters

arg0 V

V

UpdateAndGet(UnaryOperator<V>)

public V UpdateAndGet(UnaryOperator<V> arg0)

Parameters

arg0 UnaryOperator<V>

UnaryOperator

Returns

V

V

WeakCompareAndSetAcquire(V, V)

public bool WeakCompareAndSetAcquire(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

bool

bool

WeakCompareAndSetPlain(V, V)

public bool WeakCompareAndSetPlain(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

bool

bool

WeakCompareAndSetRelease(V, V)

public bool WeakCompareAndSetRelease(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

bool

bool

WeakCompareAndSetVolatile(V, V)

public bool WeakCompareAndSetVolatile(V arg0, V arg1)

Parameters

arg0 V

V

arg1 V

V

Returns

bool

bool

Operators

implicit operator AtomicReference(AtomicReference<V>)

public static implicit operator AtomicReference(AtomicReference<V> t)

Parameters

t AtomicReference<V>

Returns

AtomicReference