/** * Add/Increment this verses in the rankings * * @param that * The verses to add/increment */ public void add(Key that) { optimizeWrites(); alterVerseBase(that, 1); fireIntervalAdded(this, null, null); }
/** * Remove/Decrement this verses in the rankings * * @param that * The verses to remove/decrement */ public void unAdd(Key that) { optimizeWrites(); alterVerseBase(that, -1); fireIntervalRemoved(this, null, null); }
/** * DONT USE THIS. It makes public something of the ratings scheme which is * not generally recommended. This method is likely to be removed at a * moments notice, and it only here to keep Mapper happy. Add/Increment this * verses in the rankings * * @param that * The verses to add/increment * @param count * The amount to increment by */ public void add(Key that, int count) { optimizeWrites(); alterVerseBase(that, count); fireIntervalAdded(this, null, null); }