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