public class Scoreable
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
_obj |
private int |
_score |
Constructor and Description |
---|
Scoreable(int score,
java.lang.Object obj) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
java.lang.Object |
getObject() |
int |
getScore() |