public class GenTableId extends Object implements OFValueType<GenTableId>, Comparable<GenTableId>
Modifier and Type | Field and Description |
---|---|
static GenTableId |
ALL |
static GenTableId |
NONE |
static GenTableId |
ZERO |
Modifier and Type | Method and Description |
---|---|
GenTableId |
applyMask(GenTableId mask) |
int |
compareTo(GenTableId other) |
boolean |
equals(Object obj) |
int |
getLength() |
int |
getValue() |
int |
hashCode() |
static GenTableId |
of(int id) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static GenTableId |
read2Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write2Bytes(io.netty.buffer.ByteBuf c) |
public static final GenTableId NONE
public static final GenTableId ALL
public static final GenTableId ZERO
public static GenTableId of(int id)
public int getValue()
public int getLength()
getLength
in interface OFValueType<GenTableId>
public void write2Bytes(io.netty.buffer.ByteBuf c)
public static GenTableId read2Bytes(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseError
public GenTableId applyMask(GenTableId mask)
applyMask
in interface OFValueType<GenTableId>
public int compareTo(GenTableId other)
compareTo
in interface Comparable<GenTableId>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.