@FunctionalInterface public interface IntSignalSource extends IntSupplier, CompilableDataFlow
Modifier and Type | Method and Description |
---|---|
default <V,L> void |
compileDataFlow(CompilationContext<V,L> context) |
static IntSignalSource |
constant(int value) |
int |
getAsInt() |
default Realtime |
logger(String name) |
default Realtime |
logger(String name,
PrintStream out) |
default IntSignalSource |
zipWith(IntBinaryOperator op,
IntSignalSource other) |
int getAsInt()
getAsInt
in interface IntSupplier
static IntSignalSource constant(int value)
default IntSignalSource zipWith(IntBinaryOperator op, IntSignalSource other)
default Realtime logger(String name, PrintStream out)
default <V,L> void compileDataFlow(CompilationContext<V,L> context)
compileDataFlow
in interface CompilableDataFlow