public class ScoredObject<T> extends Object implements Scored, Serializable
| Constructor and Description |
|---|
ScoredObject(T object,
double score) |
| Modifier and Type | Method and Description |
|---|---|
T |
object() |
double |
score() |
void |
setObject(T object) |
void |
setScore(double score) |
String |
toString() |
public ScoredObject(T object, double score)