Table of Contents

Class ValueListSet<T>

Namespace
Aspose.CAD.FileFormats.GLB.ToolKit.Collections
Assembly
Aspose.CAD.dll

Represents A specialised list that requires all elements to be unique.

public class ValueListSet<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : struct

Type Parameters

T

Any value type.

Inheritance
ValueListSet<T>
Implements
Inherited Members

Remarks

This collection is:

  • like a HashSet, in the sense that every element must be unique.
  • like a list, because elements can be accessed by index: this[int].
  • IndexOf(in T) and Use(in T) are fast as in a HashSet.

Constructors

ValueListSet()
ValueListSet(int, IEqualityComparer)

Properties

Comparer
Count
Indices
this[int]

Methods

Add(in T)
ApplyTransform(Func<T, T>)
Clear()
Contains(in T)
CopyTo(ValueListSet<T>)
CopyTo(T[], int)
Exists(int)
GetEnumerator()
IndexOf(in T)
Use(in T)