Class AmorphousShape

  • All Implemented Interfaces:, scala.Equals, scala.Product

    public class AmorphousShape
    extends Shape
    implements scala.Product,
    This type of Shape can express any number of inputs and outputs at the expense of forgetting about their specific types. It is used mainly in the implementation of the Graph builders and typically replaced by a more meaningful type of Shape when the building is finished.
    See Also:
    Serialized Form
    • Constructor Detail

      • AmorphousShape

        public AmorphousShape​(scala.collection.immutable.Seq<Inlet<?>> inlets,
                              scala.collection.immutable.Seq<Outlet<?>> outlets)
    • Method Detail

      • apply

        public static AmorphousShape apply​(scala.collection.immutable.Seq<Inlet<?>> inlets,
                                           scala.collection.immutable.Seq<Outlet<?>> outlets)
      • unapply

        public static scala.Option<scala.Tuple2<scala.collection.immutable.Seq<Inlet<?>>,​scala.collection.immutable.Seq<Outlet<?>>>> unapply​(AmorphousShape x$0)
      • inlets

        public scala.collection.immutable.Seq<Inlet<?>> inlets()
        Description copied from class: Shape
        Scala API: get a list of all input ports
        Specified by:
        inlets in class Shape
      • outlets

        public scala.collection.immutable.Seq<Outlet<?>> outlets()
        Description copied from class: Shape
        Scala API: get a list of all output ports
        Specified by:
        outlets in class Shape
      • deepCopy

        public AmorphousShape deepCopy()
        Description copied from class: Shape
        Create a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system.
        Specified by:
        deepCopy in class Shape
      • copy

        public AmorphousShape copy​(scala.collection.immutable.Seq<Inlet<?>> inlets,
                                   scala.collection.immutable.Seq<Outlet<?>> outlets)
      • copy$default$1

        public scala.collection.immutable.Seq<Inlet<?>> copy$default$1()
      • copy$default$2

        public scala.collection.immutable.Seq<Outlet<?>> copy$default$2()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object