Class AtomicInteger
- Namespace
- Java.Util.Concurrent.Atomic
- Assembly
- MASES.JNet.dll
public class AtomicInteger : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>AtomicInteger
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
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
AndDecrement
public int AndDecrement { get; }
Property Value
AndIncrement
public int AndIncrement { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Opaque
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicInteger.html#getOpaque() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicInteger.html#setOpaque(int)
public int Opaque { get; set; }
Property Value
Plain
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicInteger.html#getPlain() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicInteger.html#setPlain(int)
public int Plain { get; set; }
Property Value
Methods
AccumulateAndGet(int, IntBinaryOperator)
public int AccumulateAndGet(int arg0, IntBinaryOperator arg1)
Parameters
arg0
intarg1
IntBinaryOperator
Returns
AddAndGet(int)
public int AddAndGet(int arg0)
Parameters
Returns
CompareAndExchange(int, int)
public int CompareAndExchange(int arg0, int arg1)
Parameters
Returns
CompareAndExchangeAcquire(int, int)
public int CompareAndExchangeAcquire(int arg0, int arg1)
Parameters
Returns
CompareAndExchangeRelease(int, int)
public int CompareAndExchangeRelease(int arg0, int arg1)
Parameters
Returns
CompareAndSet(int, int)
public bool CompareAndSet(int arg0, int arg1)
Parameters
Returns
DecrementAndGet()
public int DecrementAndGet()
Returns
Get()
public int Get()
Returns
GetAndAccumulate(int, IntBinaryOperator)
public int GetAndAccumulate(int arg0, IntBinaryOperator arg1)
Parameters
arg0
intarg1
IntBinaryOperator
Returns
GetAndAdd(int)
public int GetAndAdd(int arg0)
Parameters
Returns
GetAndSet(int)
public int GetAndSet(int arg0)
Parameters
Returns
GetAndUpdate(IntUnaryOperator)
public int GetAndUpdate(IntUnaryOperator arg0)
Parameters
Returns
IncrementAndGet()
public int IncrementAndGet()
Returns
LazySet(int)
public void LazySet(int arg0)
Parameters
Set(int)
public void Set(int arg0)
Parameters
SetRelease(int)
public void SetRelease(int arg0)
Parameters
UpdateAndGet(IntUnaryOperator)
public int UpdateAndGet(IntUnaryOperator arg0)
Parameters
Returns
WeakCompareAndSetAcquire(int, int)
public bool WeakCompareAndSetAcquire(int arg0, int arg1)
Parameters
Returns
WeakCompareAndSetPlain(int, int)
public bool WeakCompareAndSetPlain(int arg0, int arg1)
Parameters
Returns
WeakCompareAndSetRelease(int, int)
public bool WeakCompareAndSetRelease(int arg0, int arg1)
Parameters
Returns
WeakCompareAndSetVolatile(int, int)
public bool WeakCompareAndSetVolatile(int arg0, int arg1)