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