public class KeyElement4Double
extends java.lang.Object
KeyElement4Double
class is an instrument for array comparison with KeyComparator classConstructor and Description |
---|
KeyElement4Double(double key,
java.math.BigDecimal value)
The constructor
KeyElement4Double creates a new instance(object) of the class. |
KeyElement4Double(double key,
double value)
The constructor
KeyElement4Double creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
double |
getKey()
get field: key for sort.
|
double |
getValue()
get field: value of key.
|
void |
setValue(double input)
set field: set value.
|
public KeyElement4Double(double key, double value)
KeyElement4Double
creates a new instance(object) of the class.key
- key to sort.value
- value to sort.public KeyElement4Double(double key, java.math.BigDecimal value)
KeyElement4Double
creates a new instance(object) of the class.key
- key to sort.value
- value to sort.