public abstract class FanInShape<O> extends Shape
Modifier and Type | Class and Description |
---|---|
static interface |
FanInShape.Init<O> |
static class |
FanInShape.Name<O> |
static class |
FanInShape.Name$ |
static class |
FanInShape.Ports<O> |
static class |
FanInShape.Ports$ |
Constructor and Description |
---|
FanInShape(FanInShape.Init<O> init) |
Modifier and Type | Method and Description |
---|---|
protected abstract FanInShape<O> |
construct(FanInShape.Init<O> init) |
FanInShape<O> |
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.
|
FanInShape<O> |
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.
|
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
|
protected <T> Inlet<T> |
newInlet(java.lang.String name) |
Outlet<O> |
out() |
scala.collection.immutable.Seq<Outlet<?>> |
outlets()
Scala API: get a list of all output ports
|
static void |
requireSamePortsAndShapeAs(Shape s) |
static void |
requireSamePortsAs(Shape s) |
getInlets, getOutlets, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
public FanInShape(FanInShape.Init<O> init)
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 final scala.collection.immutable.Seq<Outlet<?>> outlets()
Shape
public final scala.collection.immutable.Seq<Inlet<?>> inlets()
Shape
protected <T> Inlet<T> newInlet(java.lang.String name)
protected abstract FanInShape<O> construct(FanInShape.Init<O> init)
public FanInShape<O> deepCopy()
Shape
public final FanInShape<O> copyFromPorts(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets)
Shape
copyFromPorts
in class Shape
inlets
- (undocumented)outlets
- (undocumented)