Code Examples
A repository of 155 code examples for BeepBeep
basic.SimpleFunction Class Reference

Use the FunctionProcessor to apply a function to each input event. More...

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Use the FunctionProcessor to apply a function to each input event.

Here, we apply the negation to every Boolean event. This can be represented grahpically as follows:

Processor graph

For an input stream with the values false, true, true, false, true, the expected output should be:

The event is: true
The event is: false
The event is: false
The event is: true
The event is: false
Author
Sylvain Hallé Easy

Definition at line 45 of file SimpleFunction.java.


The documentation for this class was generated from the following file: