public class UniformFanInShape<T,O> extends FanInShape<O>
FanInShape.Init<O>, FanInShape.Name<O>, FanInShape.Name$, FanInShape.Ports<O>, FanInShape.Ports$
Constructor and Description |
---|
UniformFanInShape(int n) |
UniformFanInShape(int n,
FanInShape.Init<O> _init) |
UniformFanInShape(int n,
java.lang.String name) |
UniformFanInShape(Outlet<O> outlet,
Inlet<T>[] inlets) |
Modifier and Type | Method and Description |
---|---|
static <I,O> UniformFanInShape<I,O> |
apply(Outlet<O> outlet,
scala.collection.Seq<Inlet<I>> inlets) |
protected FanInShape<O> |
construct(FanInShape.Init<O> init) |
static FanInShape<O> |
copyFromPorts(scala.collection.immutable.Seq<Inlet<?>> inlets,
scala.collection.immutable.Seq<Outlet<?>> outlets) |
UniformFanInShape<T,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) |
Inlet<T> |
in(int n) |
static scala.collection.immutable.Seq<Inlet<?>> |
inlets() |
scala.collection.immutable.IndexedSeq<Inlet<T>> |
inSeq() |
int |
n() |
protected static <T> Inlet<T> |
newInlet(java.lang.String name) |
static Outlet<O> |
out() |
static scala.collection.immutable.Seq<Outlet<?>> |
outlets() |
static void |
requireSamePortsAndShapeAs(Shape s) |
static void |
requireSamePortsAs(Shape s) |
copyFromPorts, inlets, newInlet, out, outlets
getInlets, getOutlets, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAs
public UniformFanInShape(int n, FanInShape.Init<O> _init)
public UniformFanInShape(int n)
public UniformFanInShape(int n, java.lang.String name)
public static <I,O> UniformFanInShape<I,O> apply(Outlet<O> outlet, scala.collection.Seq<Inlet<I>> inlets)
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 static final Outlet<O> out()
public static final scala.collection.immutable.Seq<Outlet<?>> outlets()
public static final scala.collection.immutable.Seq<Inlet<?>> inlets()
protected static <T> Inlet<T> newInlet(java.lang.String name)
public static final FanInShape<O> copyFromPorts(scala.collection.immutable.Seq<Inlet<?>> inlets, scala.collection.immutable.Seq<Outlet<?>> outlets)
public int n()
protected FanInShape<O> construct(FanInShape.Init<O> init)
construct
in class FanInShape<O>
public UniformFanInShape<T,O> deepCopy()
Shape
deepCopy
in class FanInShape<O>