create<E, I extends Iterable<E> > static method
Collective<E>
create<E, I extends Iterable<E> >({
- Iterable<
E> ? elements, - Cell? bind,
- ContainerType? container,
- CollectiveReceptor<
dynamic, Signal, Signal> receptor = CollectiveReceptor.unchanged, - TestCollective<
dynamic, Collective> test = TestCollective.passed, - MapObject? mapObject,
- Synapses<
Signal, Cell> synapses = Synapses.enabled,
Creates a collective with properties
Implementation
static Collective<E> create<E, I extends Iterable<E>>({
Iterable<E>? elements,
Cell? bind,
ContainerType? container,
CollectiveReceptor receptor = CollectiveReceptor.unchanged,
TestCollective test = TestCollective.passed,
MapObject? mapObject,
Synapses synapses = Synapses.enabled
}) {
return _Collective<E>(CollectiveCellProperties<E,I>(
bind: bind,
container: container,
receptor: receptor,
test: test,
mapObject: mapObject,
synapses: synapses
), elements: elements);
}