Class AtomicInt32
NOTE: This was AtomicInteger in the JDK
Inheritance
System.Object
AtomicInt32
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.dll
Syntax
Constructors
|
Improve this Doc
View Source
AtomicInt32()
Declaration
|
Improve this Doc
View Source
AtomicInt32(Int32)
Declaration
public AtomicInt32(int value_)
Parameters
Type |
Name |
Description |
System.Int32 |
value_ |
|
Methods
|
Improve this Doc
View Source
AddAndGet(Int32)
Declaration
public int AddAndGet(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CompareAndSet(Int32, Int32)
Declaration
public bool CompareAndSet(int expect, int update)
Parameters
Type |
Name |
Description |
System.Int32 |
expect |
|
System.Int32 |
update |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DecrementAndGet()
Declaration
public int DecrementAndGet()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Get()
Declaration
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetAndDecrement()
Declaration
public int GetAndDecrement()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetAndIncrement()
Declaration
public int GetAndIncrement()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IncrementAndGet()
Declaration
public int IncrementAndGet()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Set(Int32)
Declaration
public void Set(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Declaration
public virtual string ToString(IFormatProvider provider)
Parameters
Type |
Name |
Description |
System.IFormatProvider |
provider |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToString(String)
Declaration
public virtual string ToString(string format)
Parameters
Type |
Name |
Description |
System.String |
format |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public virtual string ToString(string format, IFormatProvider provider)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.IFormatProvider |
provider |
|
Returns
Type |
Description |
System.String |
|
Extension Methods