public final class Rating extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Rating>
Modifier and Type | Field and Description |
---|---|
static int |
MAX_VALUE
The maximum legal value for a rating.
|
static int |
MIN_VALUE
The minimum legal value for a rating.
|
static long |
serialVersionUID |
Constructor and Description |
---|
Rating(int rating) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Rating o) |
boolean |
equals(java.lang.Object o) |
int |
getRating() |
int |
hashCode() |
public static final long serialVersionUID
public static final int MIN_VALUE
public static final int MAX_VALUE