Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -34,6 +34,7 @@
* @author Christoph Strobl
* @author Mark Paluch
* @author dengliming
* @author Alen Turkovic
*/
public interface ListOperations<K, V> {

@@ -388,6 +389,7 @@ default V move(K sourceKey, Direction from, K destinationKey, Direction to, Dura
* @since 2.4
* @see <a href="https://redis.io/commands/lpos">Redis Documentation: LPOS</a>
*/
@Nullable
Long indexOf(K key, V value);

/**
@@ -400,6 +402,7 @@ default V move(K sourceKey, Direction from, K destinationKey, Direction to, Dura
* @since 2.4
* @see <a href="https://redis.io/commands/lpos">Redis Documentation: LPOS</a>
*/
@Nullable
Long lastIndexOf(K key, V value);

/**