@Immutable public class ClassId extends Object implements OFValueType<ClassId>
Modifier and Type | Field and Description |
---|---|
static ClassId |
FULL_MASK |
static ClassId |
NO_MASK |
static ClassId |
NONE |
Modifier and Type | Method and Description |
---|---|
ClassId |
applyMask(ClassId mask) |
int |
compareTo(ClassId o) |
boolean |
equals(Object obj) |
int |
getInt() |
int |
getLength() |
int |
hashCode() |
static ClassId |
of(int raw) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static ClassId |
read4Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write4Bytes(io.netty.buffer.ByteBuf c) |
public static final ClassId NONE
public static final ClassId NO_MASK
public static final ClassId FULL_MASK
public static ClassId of(int raw)
public int getInt()
public int getLength()
getLength
in interface OFValueType<ClassId>
public ClassId applyMask(ClassId mask)
applyMask
in interface OFValueType<ClassId>
public void write4Bytes(io.netty.buffer.ByteBuf c)
public static ClassId read4Bytes(io.netty.buffer.ByteBuf c)
public int compareTo(ClassId o)
compareTo
in interface Comparable<ClassId>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.