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) |
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)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.