|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.model.Rating
public class Rating
Used to store information on video ratings
Constructor Summary | |
---|---|
Rating(float rating,
int numberOfVotes)
The constructor used to create a instance of the rating class |
Method Summary | |
---|---|
int |
getNumberOfVotes()
Used to get the number of votes the thing been rated had |
float |
getRating()
Used to get the rating value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rating(float rating, int numberOfVotes)
rating
- The value of the ratingnumberOfVotes
- the number of votes the thing been rated hadMethod Detail |
---|
public float getRating()
public int getNumberOfVotes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |