public static class BitFieldSubCommands.Offset extends Object
BitFieldSubCommands.BitFieldSubCommand
. Can be zero or type based. See
Bits and positional offsets in the
Redis reference.Modifier and Type | Method and Description |
---|---|
String |
asString() |
long |
getValue() |
boolean |
isZeroBased() |
BitFieldSubCommands.Offset |
multipliedByTypeLength()
Creates new type based offset.
|
static BitFieldSubCommands.Offset |
offset(long offset)
Creates new zero based offset.
|
String |
toString() |
public static BitFieldSubCommands.Offset offset(long offset)
multipliedByTypeLength()
.offset
- must not be null.public BitFieldSubCommands.Offset multipliedByTypeLength()
public boolean isZeroBased()
public long getValue()
public String asString()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.