public class AmorphousShape extends Shape implements scala.Product, scala.Serializable
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.Constructor and Description |
---|
AmorphousShape(scala.collection.immutable.Seq<Inlet<?>> inlets,
scala.collection.immutable.Seq<Outlet<?>> outlets) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
Shape |
copyFromPorts(scala.collection.immutable.Seq<Inlet<?>> inlets,
scala.collection.immutable.Seq<Outlet<?>> outlets)
Create a copy of this Shape object, returning the same type as the
original but containing the ports given within the passed-in Shape.
|
AmorphousShape |
deepCopy()
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.
|
abstract static boolean |
equals(java.lang.Object that) |
static java.util.List<Inlet<?>> |
getInlets() |
static java.util.List<Outlet<?>> |
getOutlets() |
static boolean |
hasSamePortsAndShapeAs(Shape s) |
static boolean |
hasSamePortsAs(Shape s) |
scala.collection.immutable.Seq<Inlet<?>> |
inlets()
Scala API: get a list of all input ports
|
scala.collection.immutable.Seq<Outlet<?>> |
outlets()
Scala API: get a list of all output ports
|
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
static void |
requireSamePortsAndShapeAs(Shape s) |
static void |
requireSamePortsAs(Shape s) |
getInlets, getOutlets, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static java.util.List<Inlet<?>> getInlets()
public static java.util.List<Outlet<?>> getOutlets()
public static boolean hasSamePortsAs(Shape s)
public static boolean hasSamePortsAndShapeAs(Shape s)
public static void requireSamePortsAs(Shape s)
public static void requireSamePortsAndShapeAs(Shape s)
public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public scala.collection.immutable.Seq<Inlet<?>> inlets()
Shape
public scala.collection.immutable.Seq<Outlet<?>> outlets()
Shape
public AmorphousShape deepCopy()
Shape
public Shape copyFromPorts(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets)
Shape
copyFromPorts
in class Shape
inlets
- (undocumented)outlets
- (undocumented)