public class FloatMux extends java.lang.Object implements FloatSignalSource
FloatSignalSource.CompilableBinaryOperator
Modifier and Type | Field and Description |
---|---|
(package private) FloatSignalSource[] |
data |
(package private) IntSignalSource |
selector |
Constructor and Description |
---|
FloatMux(IntSignalSource selector,
FloatSignalSource... data) |
Modifier and Type | Method and Description |
---|---|
float |
getAsFloat()
Returns the current value of the signal.
|
final IntSignalSource selector
final FloatSignalSource[] data
public FloatMux(IntSignalSource selector, FloatSignalSource... data)
public float getAsFloat()
FloatSignalSource
Any implementation of this method should be stateless; its invocation should not have any effect on the emitter, except for real time passing until its completion.
getAsFloat
in interface FloatSignalSource
getAsFloat
in interface FloatSupplier