Table of Contents

IntervalSet<T>.Enumerator Struct

Definition

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

Enumerates the pieces of an IntervalSet<T> without allocating.

public struct IntervalSet<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