public class U32 extends Object implements Writeable, OFValueType<U32>
| Modifier and Type | Field and Description |
|---|---|
static U32 |
FULL_MASK |
static U32 |
NO_MASK |
static org.projectfloodlight.openflow.types.U32.Reader |
READER |
static U32 |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
U32 |
applyMask(U32 mask) |
int |
compareTo(U32 o) |
boolean |
equals(Object obj) |
static long |
f(int i) |
int |
getLength() |
int |
getRaw() |
long |
getValue() |
int |
hashCode() |
static U32 |
of(long value) |
static U32 |
ofRaw(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 int |
t(long l) |
String |
toString() |
void |
writeTo(io.netty.buffer.ByteBuf bb) |
public static final U32 ZERO
public static final U32 NO_MASK
public static final U32 FULL_MASK
public static final org.projectfloodlight.openflow.types.U32.Reader READER
public static U32 of(long value)
public static U32 ofRaw(int raw)
public long getValue()
public int getRaw()
public static long f(int i)
public static int t(long l)
public void writeTo(io.netty.buffer.ByteBuf bb)
public int getLength()
getLength in interface OFValueType<U32>public U32 applyMask(U32 mask)
applyMask in interface OFValueType<U32>public int compareTo(U32 o)
compareTo in interface Comparable<U32>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.