Class PiHeaderUnionStack

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiHeaderUnionStack
    extends Object
    implements PiData
    PiHeaderUnionStack entity in a protocol-independent pipeline.
    • 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.
        Specified by:
        type in interface PiData
        Returns:
        the type of this instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object