Class NumericRange<T>
Defines a base class for all numeric ranges
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class NumericRange<T> extends RangeBase<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
NumericRange(T min, T max, IMath<T> math)
Initializes a new instance of NumericRange
Declaration
protected NumericRange(T min, T max, IMath<T> math)
Parameters
| Type | Name | Description |
|---|---|---|
| T | min | The min value to initialize range with. |
| T | max | The max value to initialize range with. |
| IMath<T> | math | The generic IMath helper. |
NumericRange(NumericRange<T> range, IMath<T> math)
Initializes a new instance of NumericRange
Declaration
protected NumericRange(NumericRange<T> range, IMath<T> math)
Parameters
| Type | Name | Description |
|---|---|---|
| NumericRange<T> | range | The NumericRange instance to initialize new range with. |
| IMath<T> | math | The generic IMath helper. |
Methods
getMaxAsDouble()
Declaration
public final double getMaxAsDouble()
Returns
| Type | Description |
|---|---|
| double |
getMinAsDouble()
Declaration
public final double getMinAsDouble()
Returns
| Type | Description |
|---|---|
| double |