@@ -45,8 +45,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
4545 /**
4646 * Add {@code value} to a sorted set at the bound key, or update its {@code score} if it already exists.
4747 *
48- * @param score the score.
4948 * @param value the value.
49+ * @param score the score.
5050 * @return {@literal null} when used in pipeline / transaction.
5151 * @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD</a>
5252 */
@@ -56,8 +56,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
5656 /**
5757 * Add {@code value} to a sorted set at the bound key if it does not already exists.
5858 *
59- * @param score the score.
6059 * @param value the value.
60+ * @param score the score.
6161 * @return {@literal null} when used in pipeline / transaction.
6262 * @since 2.5
6363 * @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD NX</a>
@@ -99,8 +99,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
9999 /**
100100 * Increment the score of element with {@code value} in sorted set by {@code increment}.
101101 *
102- * @param delta
103102 * @param value the value.
103+ * @param delta the delta to add. Can be negative.
104104 * @return {@literal null} when used in pipeline / transaction.
105105 * @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
106106 */
@@ -119,7 +119,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
119119 /**
120120 * Get {@code count} distinct random elements from set at the bound key.
121121 *
122- * @param count nr of members to return
122+ * @param count number of members to return.
123123 * @return empty {@link Set} if {@code key} does not exist.
124124 * @throws IllegalArgumentException if count is negative.
125125 * @since 2.6
@@ -131,7 +131,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
131131 /**
132132 * Get {@code count} random elements from set at the bound key.
133133 *
134- * @param count nr of members to return.
134+ * @param count number of members to return.
135135 * @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction.
136136 * @throws IllegalArgumentException if count is negative.
137137 * @since 2.6
@@ -152,7 +152,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
152152 /**
153153 * Get {@code count} distinct random elements with their score from set at the bound key.
154154 *
155- * @param count nr of members to return
155+ * @param count number of members to return.
156156 * @return empty {@link Set} if {@code key} does not exist.
157157 * @throws IllegalArgumentException if count is negative.
158158 * @since 2.6
@@ -164,7 +164,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
164164 /**
165165 * Get {@code count} random elements with their score from set at the bound key.
166166 *
167- * @param count nr of members to return.
167+ * @param count number of members to return.
168168 * @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction.
169169 * @throws IllegalArgumentException if count is negative.
170170 * @since 2.6
0 commit comments