public class OFOxmList extends Object implements Iterable<OFOxm<?>>, Writeable, PrimitiveSinkable
| Modifier and Type | Class and Description |
|---|---|
static class |
OFOxmList.Builder |
| Modifier and Type | Method and Description |
|---|---|
OFOxmList.Builder |
createBuilder() |
boolean |
equals(Object obj) |
<T extends OFValueType<T>> |
get(MatchField<T> matchField) |
int |
hashCode() |
Iterator<OFOxm<?>> |
iterator() |
static OFOxmList |
of(OFOxm<?>... oxms) |
static OFOxmList |
ofList(Iterable<OFOxm<?>> oxmList) |
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 OFOxmList |
readFrom(io.netty.buffer.ByteBuf bb,
int length,
OFMessageReader<OFOxm<?>> reader) |
String |
toString() |
void |
writeTo(io.netty.buffer.ByteBuf bb) |
public static final OFOxmList EMPTY
public <T extends OFValueType<T>> OFOxm<T> get(MatchField<T> matchField)
public static OFOxmList readFrom(io.netty.buffer.ByteBuf bb, int length, OFMessageReader<OFOxm<?>> reader) throws OFParseError
OFParseErrorpublic void writeTo(io.netty.buffer.ByteBuf bb)
public OFOxmList.Builder createBuilder()
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 © 2019. All rights reserved.