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