Class PiBool
- java.lang.Object
-
- org.onosproject.net.pi.runtime.data.PiBool
-
-
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 Booleanbool()Return protocol-independent Boolean instance.booleanequals(Object o)inthashCode()static PiBoolof(Boolean bool)Returns a new protocol-independent Bool.StringtoString()PiData.Typetype()Returns the type of this protocol-independent data.
-
-
-
Method Detail
-
of
public static PiBool of(Boolean bool)
Returns a new protocol-independent Bool.- Parameters:
bool- boolean- Returns:
- protocol-independent Bool
-
bool
public Boolean bool()
Return protocol-independent Boolean instance.- Returns:
- bool
-
type
public PiData.Type type()
Description copied from interface:PiDataReturns the type of this protocol-independent data.
-
-