Class AtomicBoolean
Inheritance
System.Object
    AtomicBoolean
  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)
    
  Namespace: Lucene.Net.Support
Assembly: Lucene.Net.dll
Syntax
public class AtomicBoolean
  Constructors
| Improve this Doc View SourceAtomicBoolean()
Declaration
public AtomicBoolean()
  AtomicBoolean(Boolean)
Declaration
public AtomicBoolean(bool initialValue)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | initialValue | 
Methods
| Improve this Doc View SourceCompareAndSet(Boolean, Boolean)
Declaration
public bool CompareAndSet(bool expect, bool update)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | expect | |
| System.Boolean | update | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Get()
Declaration
public bool Get()
  Returns
| Type | Description | 
|---|---|
| System.Boolean | 
GetAndSet(Boolean)
Declaration
public bool GetAndSet(bool newValue)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | newValue | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Set(Boolean)
Declaration
public void Set(bool newValue)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | newValue | 
ToString()
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()