Class PiTuple
- java.lang.Object
-
- org.onosproject.net.pi.runtime.data.PiTuple
-
-
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 boolean
equals(java.lang.Object o)
int
hashCode()
static PiTuple
of(java.util.List<PiData> tuple)
Returns a new protocol-independent tuple.java.lang.String
toString()
java.util.List<PiData>
tuple()
Return protocol-independent tuple instance.PiData.Type
type()
Returns the type of this protocol-independent data.
-
-
-
Method Detail
-
of
public static PiTuple of(java.util.List<PiData> tuple)
Returns a new protocol-independent tuple.- Parameters:
tuple
- the list of PiData- Returns:
- tuple
-
tuple
public java.util.List<PiData> tuple()
Return protocol-independent tuple instance.- Returns:
- the list of PiData
-
type
public PiData.Type type()
Description copied from interface:PiData
Returns the type of this protocol-independent data.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-