Range Class
A continuous interval between two numeric values.
Declaration
public class Range extends JavaObject implements ICloneable
Remarks
Use the getMin() and getMax() methods to obtain range boundaries.
Implements
com.devexpress.system.ICloneable
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
com.devexpress.system.JavaObject
Range
Range(double min, double max)
Initializes a new instance of the Range class with specified settings.
Declaration
public Range(double min, double max)
Parameters
| Name | Type | Description |
|---|---|---|
| min | double | The minimum value of the range. |
| max | double | The maximum value of the range. |
Methods
deepClone() Method
Creates a deep copy of the current object.
Declaration
public Range deepClone()
Returns
| Type | Description |
|---|---|
Range |
A deep copy of the current object. |
getMax() Method
Returns the maximum value of the range.
Declaration
public double getMax()
Returns
| Type | Description |
|---|---|
| double | The maximum value of the range. |
getMin() Method
Returns the minimum value of the range.
Declaration
public double getMin()
Returns
| Type | Description |
|---|---|
| double | The minimum value of the range. |
objectClone() Method
Creates a copy of the current object.
Declaration
public Object objectClone()
Returns
| Type | Description |
|---|---|
| Object | A copy of the current object. |