@@ -45,8 +45,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
45
45
/**
46
46
* Add {@code value} to a sorted set at the bound key, or update its {@code score} if it already exists.
47
47
*
48
- * @param score the score.
49
48
* @param value the value.
49
+ * @param score the score.
50
50
* @return {@literal null} when used in pipeline / transaction.
51
51
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD</a>
52
52
*/
@@ -56,8 +56,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
56
56
/**
57
57
* Add {@code value} to a sorted set at the bound key if it does not already exists.
58
58
*
59
- * @param score the score.
60
59
* @param value the value.
60
+ * @param score the score.
61
61
* @return {@literal null} when used in pipeline / transaction.
62
62
* @since 2.5
63
63
* @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> {
99
99
/**
100
100
* Increment the score of element with {@code value} in sorted set by {@code increment}.
101
101
*
102
- * @param delta
103
102
* @param value the value.
103
+ * @param delta the delta to add. Can be negative.
104
104
* @return {@literal null} when used in pipeline / transaction.
105
105
* @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
106
106
*/
@@ -119,7 +119,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
119
119
/**
120
120
* Get {@code count} distinct random elements from set at the bound key.
121
121
*
122
- * @param count nr of members to return
122
+ * @param count number of members to return.
123
123
* @return empty {@link Set} if {@code key} does not exist.
124
124
* @throws IllegalArgumentException if count is negative.
125
125
* @since 2.6
@@ -131,7 +131,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
131
131
/**
132
132
* Get {@code count} random elements from set at the bound key.
133
133
*
134
- * @param count nr of members to return.
134
+ * @param count number of members to return.
135
135
* @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction.
136
136
* @throws IllegalArgumentException if count is negative.
137
137
* @since 2.6
@@ -152,7 +152,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
152
152
/**
153
153
* Get {@code count} distinct random elements with their score from set at the bound key.
154
154
*
155
- * @param count nr of members to return
155
+ * @param count number of members to return.
156
156
* @return empty {@link Set} if {@code key} does not exist.
157
157
* @throws IllegalArgumentException if count is negative.
158
158
* @since 2.6
@@ -164,7 +164,7 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
164
164
/**
165
165
* Get {@code count} random elements with their score from set at the bound key.
166
166
*
167
- * @param count nr of members to return.
167
+ * @param count number of members to return.
168
168
* @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction.
169
169
* @throws IllegalArgumentException if count is negative.
170
170
* @since 2.6
0 commit comments