@Immutable public class BundleId extends Object implements OFValueType<BundleId>
Modifier and Type | Field and Description |
---|---|
static BundleId |
FULL_MASK |
static BundleId |
NO_MASK |
static BundleId |
NONE |
Modifier and Type | Method and Description |
---|---|
BundleId |
applyMask(BundleId mask) |
int |
compareTo(BundleId o) |
boolean |
equals(Object obj) |
int |
getInt() |
int |
getLength() |
int |
hashCode() |
static BundleId |
of(int raw) |
void |
putTo(com.google.common.hash.PrimitiveSink sink) |
static BundleId |
read4Bytes(io.netty.buffer.ByteBuf c) |
String |
toString() |
void |
write4Bytes(io.netty.buffer.ByteBuf c) |
public static final BundleId NONE
public static final BundleId NO_MASK
public static final BundleId FULL_MASK
public static BundleId of(int raw)
public int getInt()
public int getLength()
getLength
in interface OFValueType<BundleId>
public BundleId applyMask(BundleId mask)
applyMask
in interface OFValueType<BundleId>
public void write4Bytes(io.netty.buffer.ByteBuf c)
public static BundleId read4Bytes(io.netty.buffer.ByteBuf c)
public int compareTo(BundleId o)
compareTo
in interface Comparable<BundleId>
public void putTo(com.google.common.hash.PrimitiveSink sink)
putTo
in interface PrimitiveSinkable
Copyright © 2015. All rights reserved.