public class OFBooleanValue extends Object implements Writeable, OFValueType<OFBooleanValue>
| Modifier and Type | Field and Description |
|---|---|
static OFBooleanValue |
FALSE |
static OFBooleanValue |
FULL_MASK |
static OFBooleanValue |
NO_MASK |
static org.projectfloodlight.openflow.types.OFBooleanValue.Reader |
READER_INSTANCE |
static OFBooleanValue |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
OFBooleanValue |
applyMask(OFBooleanValue mask) |
int |
compareTo(OFBooleanValue o) |
boolean |
equals(Object obj) |
int |
getInt() |
int |
getLength() |
boolean |
getValue() |
int |
hashCode() |
static OFBooleanValue |
of(boolean value) |
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() |
void |
writeTo(io.netty.buffer.ByteBuf bb) |
public static final OFBooleanValue TRUE
public static final OFBooleanValue FALSE
public static final OFBooleanValue NO_MASK
public static final OFBooleanValue FULL_MASK
public static final org.projectfloodlight.openflow.types.OFBooleanValue.Reader READER_INSTANCE
public static OFBooleanValue of(boolean value)
public boolean getValue()
public int getInt()
public void writeTo(io.netty.buffer.ByteBuf bb)
public int getLength()
getLength in interface OFValueType<OFBooleanValue>public OFBooleanValue applyMask(OFBooleanValue mask)
applyMask in interface OFValueType<OFBooleanValue>public int compareTo(OFBooleanValue o)
compareTo in interface Comparable<OFBooleanValue>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.