Range Constructors

Definition

Overloads

Range(Object low)

Constructs range based on its low boundary value. The low boundary value is set to the one specified in low while the high boundary value is set to maximum possible value i.e. +infinity.

Range(Object low, Object high)

Constructs range based on its low and high boundary values.

Range(Object low)

Constructs range based on its low boundary value. The low boundary value is set to the one specified in low while the high boundary value is set to maximum possible value i.e. +infinity.

public Range(Object low)

Parameters

low
Object

Low boundary value (inclusive).

Range(Object low, Object high)

Constructs range based on its low and high boundary values.

public Range(Object low, Object high)

Parameters

low
Object

Low boundary value (inclusive).

high
Object

High boundary value (exclusive).

Applies to