public final class WeightedValue extends Object
| Constructor and Description |
|---|
WeightedValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Double |
getValue()
Gets the value, which can be null.
|
double |
getWeight()
Gets the weight (support) for the
getValue(). |
int |
hashCode() |
void |
setValue(Double value)
Sets the value, which can be null.
|
void |
setWeight(double value)
Sets the weight (support) for the
getValue(). |
public Double getValue()
public void setValue(Double value)
public double getWeight()
getValue().public void setWeight(double value)
getValue().Copyright © 2021. All rights reserved.