Table of Contents

Class ConcurrentSet<T>

Namespace
The.Utility
Assembly
Instagile.Model.dll
public sealed class ConcurrentSet<T> : IEnumerable<T>, IEnumerable where T : notnull

Type Parameters

T
Inheritance
ConcurrentSet<T>
Implements
Inherited Members
Extension Methods

Constructors

ConcurrentSet()

public ConcurrentSet()

Properties

Count

public int Count { get; }

Property Value

int

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

Methods

Clear()

public void Clear()

Contains(T)

public bool Contains(T elem)

Parameters

elem T

Returns

bool

GetEnumerator()

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>

SetEquals(ConcurrentSet<T>)

public bool SetEquals(ConcurrentSet<T> other)

Parameters

other ConcurrentSet<T>

Returns

bool

ToString()

public override string ToString()

Returns

string

TryAdd(T)

public bool TryAdd(T elem)

Parameters

elem T

Returns

bool

TryRemove(T)

public bool TryRemove(T elem)

Parameters

elem T

Returns

bool