public class OFBitMask128 extends Object implements OFValueType<OFBitMask128>
| Modifier and Type | Field and Description |
|---|---|
static OFBitMask128 |
ALL |
static OFBitMask128 |
FULL_MASK |
static OFBitMask128 |
NO_MASK |
static OFBitMask128 |
NONE |
| Modifier and Type | Method and Description |
|---|---|
OFBitMask128 |
applyMask(OFBitMask128 mask) |
int |
compareTo(OFBitMask128 o) |
boolean |
equals(Object obj) |
int |
getLength() |
int |
hashCode() |
protected static boolean |
isBitOn(long raw1,
long raw2,
int bit) |
boolean |
isOn(int bit) |
static OFBitMask128 |
of(long raw1,
long raw2) |
void |
putTo(com.google.common.hash.PrimitiveSink sink)
Dump the state of this object into a
PrimitiveSink (e.g., a Hasher) for the purpose
of computing a strong hash. |
static OFBitMask128 |
read16Bytes(io.netty.buffer.ByteBuf cb) |
String |
toString() |
void |
write16Bytes(io.netty.buffer.ByteBuf cb) |
public static final OFBitMask128 ALL
public static final OFBitMask128 NONE
public static final OFBitMask128 NO_MASK
public static final OFBitMask128 FULL_MASK
public static OFBitMask128 of(long raw1, long raw2)
public int getLength()
getLength in interface OFValueType<OFBitMask128>public OFBitMask128 applyMask(OFBitMask128 mask)
applyMask in interface OFValueType<OFBitMask128>protected static boolean isBitOn(long raw1,
long raw2,
int bit)
public void write16Bytes(io.netty.buffer.ByteBuf cb)
public static OFBitMask128 read16Bytes(io.netty.buffer.ByteBuf cb)
public boolean isOn(int bit)
public int compareTo(OFBitMask128 o)
compareTo in interface Comparable<OFBitMask128>public void putTo(com.google.common.hash.PrimitiveSink sink)
PrimitiveSinkablePrimitiveSink (e.g., a Hasher) for the purpose
of computing a strong hash.
Equality contract:
Equal objects must dump the equal data into the sink, non-equal objects must dump different
data into the sink. Please see the interface documentation of PrimitiveSink for more
details and caveats/traps.putTo in interface PrimitiveSinkablesink - the sink to dump the object state into.Copyright © 2019. All rights reserved.