Table of Contents

Class AtomicCollection<TValue>

Namespace
Apache.NMS.ActiveMQ.State
Assembly
Apache.NMS.ActiveMQ.dll
public class AtomicCollection<TValue> where TValue : class

Type Parameters

TValue
Inheritance
AtomicCollection<TValue>
Inherited Members

Constructors

AtomicCollection()

public AtomicCollection()

AtomicCollection(ICollection)

public AtomicCollection(ICollection c)

Parameters

c ICollection

Properties

Count

public int Count { get; }

Property Value

int

IsReadOnly

public bool IsReadOnly { get; }

Property Value

bool

this[int]

public TValue this[int index] { get; set; }

Parameters

index int

Property Value

TValue

Methods

Add(TValue)

public int Add(TValue v)

Parameters

v TValue

Returns

int

Clear()

public void Clear()

Contains(TValue)

public bool Contains(TValue v)

Parameters

v TValue

Returns

bool

CopyTo(TValue[], int)

public void CopyTo(TValue[] a, int index)

Parameters

a TValue[]
index int

GetEnumerator()

public IEnumerator GetEnumerator()

Returns

IEnumerator

GetEnumerator(int, int)

public IEnumerator GetEnumerator(int index, int count)

Parameters

index int
count int

Returns

IEnumerator

Remove(TValue)

public void Remove(TValue v)

Parameters

v TValue

RemoveAt(int)

public void RemoveAt(int index)

Parameters

index int