ConcurrentHashSetT(Int32, Int32, IEqualityComparerT) - конструктор
Initializes a new instance of the
ConcurrentHashSetT
class that is empty, has the specified concurrency level, has the specified initial capacity, and
uses the specified
IEqualityComparerT.
Пространство имён: Tessa.Platform.CollectionsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ConcurrentHashSet(
int concurrencyLevel,
int capacity,
IEqualityComparer<T>? comparer
)
Public Sub New (
concurrencyLevel As Integer,
capacity As Integer,
comparer As IEqualityComparer(Of T)
)
public:
ConcurrentHashSet(
int concurrencyLevel,
int capacity,
IEqualityComparer<T>^ comparer
)
new :
concurrencyLevel : int *
capacity : int *
comparer : IEqualityComparer<'T> -> ConcurrentHashSet
Параметры
- concurrencyLevel Int32
- The estimated number of threads that will update the
ConcurrentHashSetT concurrently.
- capacity Int32
- The initial number of elements that the ConcurrentHashSetT
can contain.
- comparer IEqualityComparerT
- The IEqualityComparerT
implementation to use when comparing items.
ArgumentOutOfRangeException | concurrencyLevel is less than 1. -or-
capacity is less than 0.
|