RangeFactory Class

Definition

Utility class for creating IRingRange values.

public static class RangeFactory
type RangeFactory = class
Public Class RangeFactory
Inheritance
RangeFactory

Fields

RING_SIZE

The ring size.

Methods

CreateFullRange()

Creates the full range.

CreateRange(List<IRingRange>)

Creates a new IRingRange representing the union of all provided ranges.

CreateRange(UInt32, UInt32)

Creates a new IRingRange representing the values between the exclusive lower bound, begin, and the inclusive upper bound, end.

GetSubRanges(IRingRange)

Gets the contiguous sub-ranges represented by the provided range.

Applies to