Table of Contents

Interface ISink<T>

Namespace
Jitter2.DataStructures
Assembly
Jitter2.dll

Append-only target for values produced by an algorithm. Designed as a minimal, struct-friendly alternative to ICollection<T> for hot paths.

public interface ISink<T>

Type Parameters

T

The type of value accepted by the sink.

Methods

Add(in T)

Appends a value to the sink.

void Add(in T item)

Parameters

item T