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
-
JVMBridgeBase<AtomicStampedReference<V>>.SExecute<TReturn>(Type, IJavaType, string, params object[])
- 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
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Reference
public V Reference { get; }
Property Value
- V
Stamp
public int Stamp { get; }
Property Value
Methods
AttemptStamp(V, int)
public bool AttemptStamp(V arg0, int arg1)
Parameters
Returns
CompareAndSet(V, V, int, int)
public bool CompareAndSet(V arg0, V arg1, int arg2, int arg3)
Parameters
Returns
Get(int[])
public V Get(int[] arg0)
Parameters
Returns
- V
V
Set(V, int)
public void Set(V arg0, int arg1)
Parameters
WeakCompareAndSet(V, V, int, int)
public bool WeakCompareAndSet(V arg0, V arg1, int arg2, int arg3)
Parameters
Returns
Operators
implicit operator AtomicStampedReference(AtomicStampedReference<V>)
Converter from AtomicStampedReference<V> to AtomicStampedReference
public static implicit operator AtomicStampedReference(AtomicStampedReference<V> t)