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