CondensedCollectionT Properties |
[This is preliminary documentation and is subject to change.]
The CondensedCollectionT generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Capacity |
Gets or sets the total number of elements the internal data structure can hold without resizing.
| |
| Comparer |
Gets the IEqualityComparerT that is used by the CondensedCollectionT
to compare elements while performing deduplication.
| |
| Count |
Gets the number of elements in the collection.
| |
| CutoverPredicate |
Gets the callback that is periodically called to determine whether it's worthwhile for
this collection to perform deduplication. Called immediately before a new, unique item
is added to the intern pool. Return true
if the condensed list needs to cutover to normal ListT storage.
| |
| HasCutover |
Gets whether the collection has stopped performing deduplication
and has internally cutover to normal ListT storage.
| |
| IndexType |
Gets the width of the internal index currently used by a CondensedCollectionT.
| |
| InternPoolCount |
Gets count of values held internally in the collection's intern pool of unique values,
or -1 if the collection has cutover and is no longer performing deduplication.
| |
| IsReadOnly |
Gets a value indicating whether the collection is read-only.
| |
| Item |
Gets or sets the element at the specified index.
| |
| ReclaimableInternsCount |
Gets count of unused items in the collection's intern pool that
would be freed (made eligible for GC) by a cleanup operation,
or -1 if the collection has cutover and is no longer performing deduplication.
| |
| UniqueCount |
Gets count of unique values held in the collection. If T is nullable and null element(s) are present,
null will be counted as a unique value.
|