public class U16 extends Object implements Writeable, OFValueType<U16>
Modifier and Type | Field and Description |
---|---|
static U16 |
FULL_MASK |
static U16 |
NO_MASK |
static org.projectfloodlight.openflow.types.U16.Reader |
READER |
static U16 |
ZERO |
Modifier and Type | Method and Description |
---|---|
U16 |
applyMask(U16 mask) |
int |
compareTo(U16 o) |
boolean |
equals(Object obj) |
static int |
f(short i) |
int |
getLength() |
short |
getRaw() |
int |
getValue() |
int |
hashCode() |
static U16 |
of(int value) |
static U16 |
ofRaw(short raw) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static short |
t(int l) |
String |
toString() |
void |
writeTo(io.netty.buffer.ByteBuf bb) |
public static final U16 ZERO
public static final U16 NO_MASK
public static final U16 FULL_MASK
public static final org.projectfloodlight.openflow.types.U16.Reader READER
public static int f(short i)
public static short t(int l)
public static final U16 of(int value)
public static final U16 ofRaw(short raw)
public int getValue()
public short getRaw()
public void writeTo(io.netty.buffer.ByteBuf bb)
public int getLength()
getLength
in interface OFValueType<U16>
public U16 applyMask(U16 mask)
applyMask
in interface OFValueType<U16>
public int compareTo(U16 o)
compareTo
in interface Comparable<U16>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.