Table of Contents

Class AtomicReference

Namespace
Java.Util.Concurrent.Atomic
Assembly
MASES.JNet.dll
public class AtomicReference : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
AtomicReference
Implements
Inherited Members
Extension Methods

Constructors

AtomicReference()

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

public AtomicReference()

AtomicReference(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AtomicReference(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

AtomicReference(object)

public AtomicReference(object arg0)

Parameters

arg0 object

object

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[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AccumulateAndGet(object, BinaryOperator)

public object AccumulateAndGet(object arg0, BinaryOperator arg1)

Parameters

arg0 object

object

arg1 BinaryOperator

BinaryOperator

Returns

object

object

CompareAndSet(object, object)

public bool CompareAndSet(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

bool

bool

Get()

public object Get()

Returns

object

object

GetAndAccumulate(object, BinaryOperator)

public object GetAndAccumulate(object arg0, BinaryOperator arg1)

Parameters

arg0 object

object

arg1 BinaryOperator

BinaryOperator

Returns

object

object

GetAndSet(object)

public object GetAndSet(object arg0)

Parameters

arg0 object

object

Returns

object

object

GetAndUpdate(UnaryOperator)

public object GetAndUpdate(UnaryOperator arg0)

Parameters

arg0 UnaryOperator

UnaryOperator

Returns

object

object

LazySet(object)

public void LazySet(object arg0)

Parameters

arg0 object

object

Set(object)

public void Set(object arg0)

Parameters

arg0 object

object

UpdateAndGet(UnaryOperator)

public object UpdateAndGet(UnaryOperator arg0)

Parameters

arg0 UnaryOperator

UnaryOperator

Returns

object

object

WeakCompareAndSet(object, object)

public bool WeakCompareAndSet(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

bool

bool