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
-
IEnumerable<T>
- Inherited Members
Remarks
- This collection is based on Dictionary<TKey, TValue>
- Replaces VertexList<T>
- Designed to work with lists of vertices.
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.