|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.statistics.ItemFeedback
public class ItemFeedback
ItemFeedback is a data class holding information about the number of users liking
resp. disliking a given item.
Only UserFeedbackManager is supposed to write to ItemFeedbacks, hence all
methods changing state are package-protected.
The public methods are restricted to getLikes() and getDislikes(),
returning the number of user havin liked resp. disliked the item this ItemFeedback
is about.
UserFeedback,
UserFeedbackManager| Method Summary | |
|---|---|
int |
getDislikes()
Returns the number of users disliking the item this ItemFeedback is about. |
int |
getLikes()
Returns the number of users liking the item this ItemFeedback is about. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getLikes()
ItemFeedback is about.
ItemFeedback is about.public int getDislikes()
ItemFeedback is about.
ItemFeedback is about.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||