Table of Contents

Class ValueSet

Namespace
Badeend.ValueCollections
Assembly
Badeend.ValueCollections.dll

Initialization methods for ValueSet<T>.

public static class ValueSet
Inheritance
ValueSet
Inherited Members

Methods

Builder<T>()

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

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

Returns

ValueSetBuilder<T>

Type Parameters

T

Builder<T>(ReadOnlySpan<T>)

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

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

Parameters

items ReadOnlySpan<T>

Returns

ValueSetBuilder<T>

Type Parameters

T

Create<T>(ReadOnlySpan<T>)

Copy the items into a new ValueSet<T>.

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

Parameters

items ReadOnlySpan<T>

Returns

ValueSet<T>

Type Parameters

T