Table of Contents

Class AtomicStampedReference<V>

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

Type Parameters

V
Inheritance
AtomicStampedReference<V>
Implements
Inherited Members
Extension Methods

Constructors

AtomicStampedReference()

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

public AtomicStampedReference()

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

Parameters

args object[]

AtomicStampedReference(V, int)

public AtomicStampedReference(V arg0, int arg1)

Parameters

arg0 V

V

arg1 int

int

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

Reference

public V Reference { get; }

Property Value

V

Stamp

public int Stamp { get; }

Property Value

int

Methods

AttemptStamp(V, int)

public bool AttemptStamp(V arg0, int arg1)

Parameters

arg0 V

V

arg1 int

int

Returns

bool

bool

CompareAndSet(V, V, int, int)

public bool CompareAndSet(V arg0, V arg1, int arg2, int arg3)

Parameters

arg0 V

V

arg1 V

V

arg2 int

int

arg3 int

int

Returns

bool

bool

Get(int[])

public V Get(int[] arg0)

Parameters

arg0 int[]

int

Returns

V

V

Set(V, int)

public void Set(V arg0, int arg1)

Parameters

arg0 V

V

arg1 int

int

WeakCompareAndSet(V, V, int, int)

public bool WeakCompareAndSet(V arg0, V arg1, int arg2, int arg3)

Parameters

arg0 V

V

arg1 V

V

arg2 int

int

arg3 int

int

Returns

bool

bool

Operators

implicit operator AtomicStampedReference(AtomicStampedReference<V>)

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

Parameters

t AtomicStampedReference<V>

Returns

AtomicStampedReference