Class PiStruct

  • All Implemented Interfaces:
    PiData

    @Beta
    public final class PiStruct
    extends Object
    implements PiData
    Struct entity in a protocol-independent pipeline.
    • 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: 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