Class PiBitString
- java.lang.Object
-
- org.onosproject.net.pi.runtime.data.PiBitString
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.pi.model.PiData
PiData.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableByteSequence
bitString()
Return protocol-independent bitString instance.boolean
equals(Object o)
int
hashCode()
static PiBitString
of(ImmutableByteSequence bitString)
Returns a new protocol-independent BitString.String
toString()
PiData.Type
type()
Returns the type of this protocol-independent data.
-
-
-
Method Detail
-
of
public static PiBitString of(ImmutableByteSequence bitString)
Returns a new protocol-independent BitString.- Parameters:
bitString
- bitString- Returns:
- BitString
-
bitString
public ImmutableByteSequence bitString()
Return protocol-independent bitString instance.- Returns:
- bitString
-
type
public PiData.Type type()
Description copied from interface:PiData
Returns the type of this protocol-independent data.
-
-