Class Atomic<T>
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)
    
    
      System.Object.ToString()
    
  Namespace: Apache.NMS.Util
Assembly: Apache.NMS.dll
Syntax
public class Atomic<T> : AtomicReference<T> where T : IComparableType Parameters
| Name | Description | 
|---|---|
| T | 
Constructors
| Improve this Doc View SourceAtomic()
Declaration
public Atomic()Atomic(T)
Declaration
public Atomic(T defaultValue)Parameters
| Type | Name | Description | 
|---|---|---|
| T | defaultValue | 
Methods
| Improve this Doc View SourceCompareAndSet(T, T)
Declaration
public bool CompareAndSet(T expected, T newValue)Parameters
| Type | Name | Description | 
|---|---|---|
| T | expected | |
| T | newValue | 
Returns
| Type | Description | 
|---|---|
| System.Boolean |