@Immutable public class LagId extends Object implements OFValueType<LagId>
| Modifier and Type | Field and Description |
|---|---|
static LagId |
FULL_MASK |
static LagId |
NO_MASK |
static LagId |
NONE |
| Modifier and Type | Method and Description |
|---|---|
LagId |
applyMask(LagId mask) |
int |
compareTo(LagId o) |
boolean |
equals(Object obj) |
int |
getInt() |
int |
getLength() |
int |
hashCode() |
static LagId |
of(int raw) |
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 LagId |
read4Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write4Bytes(io.netty.buffer.ByteBuf c) |
public static final LagId NONE
public static final LagId NO_MASK
public static final LagId FULL_MASK
public static LagId of(int raw)
public int getInt()
public int getLength()
getLength in interface OFValueType<LagId>public void write4Bytes(io.netty.buffer.ByteBuf c)
public static LagId read4Bytes(io.netty.buffer.ByteBuf c)
public int compareTo(LagId o)
compareTo in interface Comparable<LagId>public LagId applyMask(LagId mask)
applyMask in interface OFValueType<LagId>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.