Table of Contents

IntervalPair<T>.Enumerator Struct

Definition

Namespace
Bodu.Numerics
Assembly
Bodu.Numerics.dll
Package
Bodu.Numerics 1.0.0
Source
IntervalPair{T}.cs

Enumerates the non-empty pieces of an IntervalPair<T> without allocating.

public struct IntervalPair<T>.Enumerator
Inherited Members
Extension Methods

Properties

Current

Gets the piece at the current position.

public readonly Interval<T> Current { get; }

Property Value

Interval<T>

The current interval.

Methods

MoveNext()

Advances to the next piece.

public bool MoveNext()

Returns

bool

true while a piece remains; otherwise false.

Applies to

ProductVersions
.NET8, 10