Class IntegerRange
Defines a range of type Integer
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class IntegerRange extends NumericRange<Integer>
Constructors
IntegerRange()
Initializes a new instance of IntegerRange
Declaration
public IntegerRange()
IntegerRange(IntegerRange range)
Initializes a new instance of IntegerRange
Declaration
public IntegerRange(IntegerRange range)
Parameters
| Type | Name | Description |
|---|---|---|
| range | The IntegerRange instance to initialize new range with. |
IntegerRange(Integer min, Integer max)
Initializes a new instance of IntegerRange
Declaration
public IntegerRange(Integer min, Integer max)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | min | The min value to initialize range with. |
| Integer | max | The max value to initialize range with. |
Methods
clone()
Creates and returns a copy of this object
Declaration
public IRange<Integer> clone()
Returns
| Type | Description |
|---|---|
| IRange<Integer> |
Overrides
Exceptions
| Type | Condition |
|---|---|
| CloneNotSupportedException |
getValueType()
Declaration
public final Class<Integer> getValueType()
Returns
| Type | Description |
|---|---|
| Class<Integer> |
growBy(double minFraction, double maxFraction)
Declaration
public void growBy(double minFraction, double maxFraction)
Parameters
| Type | Name | Description |
|---|---|---|
| double | minFraction | |
| double | maxFraction |