public class OFAuxId extends Object implements Comparable<OFAuxId>, PrimitiveSinkable
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OFAuxId other) |
boolean |
equals(Object obj) |
short |
getValue() |
int |
hashCode() |
static OFAuxId |
of(int id) |
static OFAuxId |
of(short id) |
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 OFAuxId |
readByte(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
writeByte(io.netty.buffer.ByteBuf c) |
public static final OFAuxId MAIN
public static OFAuxId of(short id)
public static OFAuxId of(int id)
public short getValue()
public void writeByte(io.netty.buffer.ByteBuf c)
public static OFAuxId readByte(io.netty.buffer.ByteBuf c) throws OFParseError
OFParseErrorpublic int compareTo(OFAuxId other)
compareTo in interface Comparable<OFAuxId>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 © 2020. All rights reserved.