javadocs fixed

pull/2791/head
Nikita Koksharov 5 years ago
parent 69034c3bd5
commit ccb009219d

@ -145,19 +145,18 @@ public interface RScoredSortedSet<V> extends RScoredSortedSetAsync<V>, Iterable<
V pollLast(long timeout, TimeUnit unit);
/**
* Removes and returns the head elements or {@code null} if this sorted set is empty.
* Removes and returns the head elements of this sorted set.
*
* @param count - elements amount
* @return the head element,
* or {@code null} if this sorted set is empty
* @return the head elements of this sorted set
*/
Collection<V> pollFirst(int count);
/**
* Removes and returns the tail elements or {@code null} if this sorted set is empty.
* Removes and returns the tail elements of this sorted set.
*
* @param count - elements amount
* @return the tail element or {@code null} if this sorted set is empty
* @return the tail elements of this sorted set
*/
Collection<V> pollLast(int count);

@ -106,18 +106,18 @@ public interface RScoredSortedSetAsync<V> extends RExpirableAsync, RSortableAsyn
RFuture<V> pollLastAsync(long timeout, TimeUnit unit);
/**
* Removes and returns the head elements or {@code null} if this sorted set is empty.
* Removes and returns the head elements of this sorted set.
*
* @param count - elements amount
* @return the head elements
* @return the head elements of this sorted set
*/
RFuture<Collection<V>> pollFirstAsync(int count);
/**
* Removes and returns the tail elements or {@code null} if this sorted set is empty.
* Removes and returns the tail elements of this sorted set.
*
* @param count - elements amount
* @return the tail elements
* @return the tail elements of this sorted set
*/
RFuture<Collection<V>> pollLastAsync(int count);

@ -96,18 +96,18 @@ public interface RScoredSortedSetReactive<V> extends RExpirableReactive, RSortab
Mono<V> pollLast(long timeout, TimeUnit unit);
/**
* Removes and returns the head elements or {@code null} if this sorted set is empty.
* Removes and returns the head elements of this sorted set.
*
* @param count - elements amount
* @return the head elements
* @return the head elements of this sorted set
*/
Mono<Collection<V>> pollFirst(int count);
/**
* Removes and returns the tail elements or {@code null} if this sorted set is empty.
* Removes and returns the tail elements of this sorted set.
*
* @param count - elements amount
* @return the tail elements
* @return the tail elements of this sorted set
*/
Mono<Collection<V>> pollLast(int count);

@ -97,18 +97,18 @@ public interface RScoredSortedSetRx<V> extends RExpirableRx, RSortableRx<Set<V>>
Maybe<V> pollLast(long timeout, TimeUnit unit);
/**
* Removes and returns the head elements or {@code null} if this sorted set is empty.
* Removes and returns the head elements of this sorted set.
*
* @param count - elements amount
* @return the head elements
* @return the head elements of this sorted set
*/
Single<Collection<V>> pollFirst(int count);
/**
* Removes and returns the tail elements or {@code null} if this sorted set is empty.
* Removes and returns the tail elements of this sorted set.
*
* @param count - elements amount
* @return the tail elements
* @return the tail elements of this sorted set
*/
Single<Collection<V>> pollLast(int count);

Loading…
Cancel
Save