Package eu.bandm.sighkn
Class FloatSelectByInt
java.lang.Object
eu.bandm.sighkn.FloatSelectByInt
- All Implemented Interfaces:
CompilableDataFlow,FloatSignalSource,FloatSupplier,SignalSource<Float>,Supplier<Float>
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib.FloatSignalSource
FloatSignalSource.CompilableFloatBinaryOperator, FloatSignalSource.FloatAddOperator, FloatSignalSource.FloatDivOperator, FloatSignalSource.FloatMultOperator, FloatSignalSource.FloatSubOperatorNested classes/interfaces inherited from interface eu.bandm.sig.adlib.SignalSource
SignalSource.AddOperator, SignalSource.CompilableBinaryOperator, SignalSource.Constant<A>, SignalSource.DivOperator, SignalSource.MultOperator, SignalSource.SubOperator -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FloatSignalSource[]protected final IntSignalSource -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
switchSource
-
sources
-
-
Constructor Details
-
FloatSelectByInt
-
-
Method Details
-
getAsFloat
public float getAsFloat()Description copied from interface:FloatSignalSourceReturns the current value of the signal.Any implementation of this method should be stateless; its invocation should not have any side effect on the emitter or the observer, except for real time passing until its completion.
- Specified by:
getAsFloatin interfaceFloatSignalSource- Specified by:
getAsFloatin interfaceFloatSupplier- Returns:
- the current value of the signal.
-