Table of Contents

Class ValueList

Namespace
Badeend.ValueCollections
Assembly
Badeend.ValueCollections.dll

Initialization methods for ValueList<T>.

public static class ValueList
Inheritance
ValueList
Inherited Members

Methods

Builder<T>()

Create a new empty ValueListBuilder<T>. This builder can then be used to efficiently construct an immutable ValueList<T>.

[Pure]
public static ValueListBuilder<T> Builder<T>()

Returns

ValueListBuilder<T>

Type Parameters

T

Builder<T>(ReadOnlySpan<T>)

Create a new ValueListBuilder<T> with the provided items as its initial content.

[Pure]
public static ValueListBuilder<T> Builder<T>(ReadOnlySpan<T> items)

Parameters

items ReadOnlySpan<T>

Returns

ValueListBuilder<T>

Type Parameters

T

Create<T>(ReadOnlySpan<T>)

Copy the items into a new ValueList<T>.

[Pure]
public static ValueList<T> Create<T>(ReadOnlySpan<T> items)

Parameters

items ReadOnlySpan<T>

Returns

ValueList<T>

Type Parameters

T