public abstract class FanOutShape<I> extends Shape
Modifier and Type | Class and Description |
---|---|
static interface |
FanOutShape.Init<I> |
static class |
FanOutShape.Name<I> |
static class |
FanOutShape.Name$ |
static class |
FanOutShape.Ports<I> |
static class |
FanOutShape.Ports$ |
Constructor and Description |
---|
FanOutShape(FanOutShape.Init<I> init) |
Modifier and Type | Method and Description |
---|---|
protected abstract FanOutShape<I> |
construct(FanOutShape.Init<I> init) |
FanOutShape<I> |
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.
|
FanOutShape<I> |
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) |
Inlet<I> |
in() |
scala.collection.immutable.Seq<Inlet<?>> |
inlets()
Scala API: get a list of all input ports
|
protected <T> Outlet<T> |
newOutlet(java.lang.String name) |
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 FanOutShape(FanOutShape.Init<I> 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> Outlet<T> newOutlet(java.lang.String name)
protected abstract FanOutShape<I> construct(FanOutShape.Init<I> init)
public FanOutShape<I> deepCopy()
Shape
public final FanOutShape<I> copyFromPorts(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets)
Shape
copyFromPorts
in class Shape
inlets
- (undocumented)outlets
- (undocumented)