/** * Adds 1 to the counts for each of the given keys. If any of the keys * haven't been seen before, they are assumed to have count 0, and thus * this method will set their counts to 1. * <p> * To increment the counts of a collection of object by a value other * than 1, use {@link #incrementCounts(Collection,int)}. * <p> * To set the counts of a collection of objects to a specific value instead * of incrementing them, use {@link #setCounts(Collection,int)}. */ public void incrementCounts(Collection<E> keys) { incrementCounts(keys, 1); }
/** * Subtracts the given count from the current counts for each of the given keys. * If any of the keys haven't been seen before, they are assumed to have * count 0, and thus this method will set their counts to the negative of the given * amount. Negative increments are equivalent to calling {@code incrementCount}. * <p> * To more conveniently decrement the counts of a collection of objects by * 1, use {@link #decrementCounts(Collection)}. * <p> * To set the counts of a collection of objects to a specific value instead * of decrementing them, use {@link #setCounts(Collection,int)}. */ public void decrementCounts(Collection<E> keys, int count) { incrementCounts(keys, -count); }
/** * Adds 1 to the counts for each of the given keys. If any of the keys * haven't been seen before, they are assumed to have count 0, and thus * this method will set their counts to 1. * <p> * To increment the counts of a collection of object by a value other * than 1, use {@link #incrementCounts(Collection,int)}. * <p> * To set the counts of a collection of objects to a specific value instead * of incrementing them, use {@link #setCounts(Collection,int)}. */ public void incrementCounts(Collection<E> keys) { incrementCounts(keys, 1); }
/** * Adds 1 to the counts for each of the given keys. If any of the keys * haven't been seen before, they are assumed to have count 0, and thus * this method will set their counts to 1. * <p/> * To increment the counts of a collection of object by a value other * than 1, use {@link #incrementCounts(Collection,int)}. * <p/> * To set the counts of a collection of objects to a specific value instead * of incrementing them, use {@link #setCounts(Collection,int)}. */ public void incrementCounts(Collection<E> keys) { incrementCounts(keys, 1); }
/** * Adds 1 to the counts for each of the given keys. If any of the keys * haven't been seen before, they are assumed to have count 0, and thus * this method will set their counts to 1. * <p/> * To increment the counts of a collection of object by a value other * than 1, use {@link #incrementCounts(Collection,int)}. * <p/> * To set the counts of a collection of objects to a specific value instead * of incrementing them, use {@link #setCounts(Collection,int)}. */ public void incrementCounts(Collection<E> keys) { incrementCounts(keys, 1); }
/** * Subtracts the given count from the current counts for each of the given keys. * If any of the keys haven't been seen before, they are assumed to have * count 0, and thus this method will set their counts to the negative of the given * amount. Negative increments are equivalent to calling {@code incrementCount}. * <p> * To more conveniently decrement the counts of a collection of objects by * 1, use {@link #decrementCounts(Collection)}. * <p> * To set the counts of a collection of objects to a specific value instead * of decrementing them, use {@link #setCounts(Collection,int)}. */ public void decrementCounts(Collection<E> keys, int count) { incrementCounts(keys, -count); }
/** * Adds 1 to the counts for each of the given keys. If any of the keys * haven't been seen before, they are assumed to have count 0, and thus * this method will set their counts to 1. * <p> * To increment the counts of a collection of object by a value other * than 1, use {@link #incrementCounts(Collection,int)}. * <p> * To set the counts of a collection of objects to a specific value instead * of incrementing them, use {@link #setCounts(Collection,int)}. */ public void incrementCounts(Collection<E> keys) { incrementCounts(keys, 1); }
/** * Subtracts the given count from the current counts for each of the given keys. * If any of the keys haven't been seen before, they are assumed to have * count 0, and thus this method will set their counts to the negative of the given * amount. Negative increments are equivalent to calling <tt>incrementCount</tt>. * <p/> * To more conviniently decrement the counts of a collection of objects by * 1, use {@link #decrementCounts(Collection)}. * <p/> * To set the counts of a collection of objects to a specific value instead * of decrementing them, use {@link #setCounts(Collection,int)}. */ public void decrementCounts(Collection<E> keys, int count) { incrementCounts(keys, -count); }
/** * Subtracts the given count from the current counts for each of the given keys. * If any of the keys haven't been seen before, they are assumed to have * count 0, and thus this method will set their counts to the negative of the given * amount. Negative increments are equivalent to calling <tt>incrementCount</tt>. * <p/> * To more conviniently decrement the counts of a collection of objects by * 1, use {@link #decrementCounts(Collection)}. * <p/> * To set the counts of a collection of objects to a specific value instead * of decrementing them, use {@link #setCounts(Collection,int)}. */ public void decrementCounts(Collection<E> keys, int count) { incrementCounts(keys, -count); }
/** * Subtracts the given count from the current counts for each of the given keys. * If any of the keys haven't been seen before, they are assumed to have * count 0, and thus this method will set their counts to the negative of the given * amount. Negative increments are equivalent to calling {@code incrementCount}. * <p> * To more conveniently decrement the counts of a collection of objects by * 1, use {@link #decrementCounts(Collection)}. * <p> * To set the counts of a collection of objects to a specific value instead * of decrementing them, use {@link #setCounts(Collection,int)}. */ public void decrementCounts(Collection<E> keys, int count) { incrementCounts(keys, -count); }