Class PiHeaderUnionStack
- java.lang.Object
-
- org.onosproject.net.pi.runtime.data.PiHeaderUnionStack
-
-
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(Object o)
int
hashCode()
Collection<PiHeaderUnion>
headerUnions()
Return the collection of header union.static PiHeaderUnionStack
of(List<PiHeaderUnion> headerUnions)
Returns a new protocol-independent header union stack.String
toString()
PiData.Type
type()
Returns the type of this protocol-independent data.
-
-
-
Method Detail
-
of
public static PiHeaderUnionStack of(List<PiHeaderUnion> headerUnions)
Returns a new protocol-independent header union stack.- Parameters:
headerUnions
- the list of headerUnion- Returns:
- header union stack
-
headerUnions
public Collection<PiHeaderUnion> headerUnions()
Return the collection of header union.- Returns:
- the collection header union
-
type
public PiData.Type type()
Description copied from interface:PiData
Returns the type of this protocol-independent data.
-
-