A
- the type of values produced by the signal sourcespublic interface ClockedSignalSourceVector<A> extends SignalSourceVector<A,ClockedSignalSource<A>>, Process
Process.init()
and Process.step(RealtimeContext)
,
affect all components of the aggregate. Effectively, each event is processed
by all components sequentially in iteration order. Conceptually, components
should be independent, such that the firing order makes no observable
difference. Behavior is undefined if an individual component occurs more
than once.SignalSourceVector.Mutable<A,S extends SignalSource<A>>
Process.Proxy
Modifier and Type | Method and Description |
---|---|
static <A> ClockedSignalSourceVector<A> |
of(ClockedSignalSource<A>... components)
Creates a new aggregate from the given array of components.
|
static <A> ClockedSignalSourceVector<A> |
of(List<? extends ClockedSignalSource<A>> components)
Creates a new aggregate from the given list of components.
|
append, empty, iterate, map, of, of, of, of, repeat, singleton, sizeCompatibleWith, sizeCompatibleWith, sizeCompatibleWith, stored, zipWith
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
afterEvery, andThen, compile, compileAsMainProcess, compileControlFlow, compileInitialization, every, getProcess, hasControlFlowIO, hasInitializationIO, init, probe, sequence, sequence, step
@SafeVarargs static <A> ClockedSignalSourceVector<A> of(ClockedSignalSource<A>... components)
The resulting object is a view of the passed array; concurrent mutation of array elements is observed. For immutable aggregates, no reference to the array should be shared.
components
- the componentsNullPointerException
- if components == null
static <A> ClockedSignalSourceVector<A> of(List<? extends ClockedSignalSource<A>> components)
The resulting object is a view of the passed list; concurrent mutation of list elements is observed. For immutable aggregates, no reference to the list should be shared.
components
- the componentsNullPointerException
- if components == null