|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimedRatings
Interface for rating datasets with time information.
Method Summary | |
---|---|
void |
add(int user_id,
int item_id,
double rating,
java.util.Date time)
Add a rating event including time information. |
Methods inherited from interface org.mymedialite.data.IRatings |
---|
add, add, add, average, countByItem, countByUser, get, get, get, maxRating, minRating, removeAt, set, size, tryGet, tryGet, values |
Methods inherited from interface org.mymedialite.data.ITimedDataSet |
---|
compare, earliestTime, latestTime, times |
Methods inherited from interface org.mymedialite.data.IDataSet |
---|
allItems, allUsers, buildItemIndices, buildRandomIndex, buildUserIndices, byItem, byUser, getIndex, getIndex, getItems, getUsers, items, maxItemID, maxUserID, randomIndex, removeItem, removeUser, tryGetIndex, tryGetIndex, users |
Methods inherited from interface java.util.Comparator |
---|
equals |
Method Detail |
---|
void add(int user_id, int item_id, double rating, java.util.Date time)
user_id
- the user IDitem_id
- the item IDrating
- the rating valuetime
- a Date specifying the time of the rating event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |