[]
Virtual list of numbers optimized for getting the accumulation up to a specified index;
public class C1LengthList<T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IDisposable where T : struct, INumber<T>
Public Class C1LengthList(Of T As {Structure, INumber(Of T)})
Implements IReadOnlyList(Of T), IReadOnlyCollection(Of T), IList(Of T), ICollection(Of T), IEnumerable(Of T), IEnumerable, IDisposable
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| C1LengthList(int, T, int) | Initializes a new instance of the C1LengthList class. |
| Name | Description |
|---|---|
| Count | |
| IsReadOnly | |
| this[int] | |
| TotalLength | Gets the accumulation of all the lengths in the list. |
| Name | Description |
|---|---|
| Add(T) | |
| Clear() | |
| ClearRange(int, int) | Sets to the default length the items in the range for the specified parameters |
| Contains(T) | |
| CopyTo(T[], int) | |
| Dispose() | |
| GetEnumerator() | |
| GetOffset(int) | Gets the accumulated length up to the indicated index (not including). |
| GetOffset(int, int) | Gets the accumulated length between the specified indexes (including both). |
| IndexOf(T) | |
| Insert(int, T) | |
| InsertRange(int, IEnumerable<T>) | Inserts the specified |
| InsertRange(int, int) | Inserts the specified |
| MoveRange(int, int, int) | Moves the number of items specified by |
| Remove(T) | |
| RemoveAt(int) | |
| RemoveRange(int, int) | |
| SetItem(int, T) | Sets an item at the specified index. |