public class OFBufferId extends Object implements Comparable<OFBufferId>, PrimitiveSinkable
| Modifier and Type | Field and Description |
|---|---|
static OFBufferId |
NO_BUFFER |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OFBufferId o) |
boolean |
equals(Object obj) |
int |
getInt() |
int |
hashCode() |
static OFBufferId |
of(int rawValue) |
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. |
String |
toString() |
public static final OFBufferId NO_BUFFER
public static OFBufferId of(int rawValue)
public int getInt()
public int compareTo(OFBufferId o)
compareTo in interface Comparable<OFBufferId>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.