public class LMoveMParams extends java.lang.Object implements IParams
LMOVEM and BLMOVEM commands: the
[<COUNT | EXACTLY> count <OBO | BULK>] block that turns a single-element move into a
multi-element move.
A count selector (count(int, ListMoveOrder) or exactly(int, ListMoveOrder))
carries both the element count and the mandatory ordering. The wire arguments are emitted in the
order <COUNT | EXACTLY> count <OBO | BULK>.
| Constructor and Description |
|---|
LMoveMParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParams(CommandArguments args) |
LMoveMParams |
count(int count,
ListMoveOrder order)
Move up to
count elements (same semantics as the count argument of
LPOP), ordered by order. |
boolean |
equals(java.lang.Object o) |
LMoveMParams |
exactly(int count,
ListMoveOrder order)
Move exactly
count elements, or nothing (a null reply) if the source list does
not hold that many, ordered by order. |
int |
hashCode() |
static LMoveMParams |
lMoveMParams() |
public static LMoveMParams lMoveMParams()
public LMoveMParams count(int count, ListMoveOrder order)
count elements (same semantics as the count argument of
LPOP), ordered by order. Mutually exclusive with
exactly(int, ListMoveOrder) (last call wins).public LMoveMParams exactly(int count, ListMoveOrder order)
count elements, or nothing (a null reply) if the source list does
not hold that many, ordered by order. Mutually exclusive with
count(int, ListMoveOrder) (last call wins).public void addParams(CommandArguments args)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2026. All rights reserved.