Code Examples
A repository of 155 code examples for BeepBeep
tuples.SumAttributesTree Class Reference

Compute the sum of two tuple attributes using the GetAttribute function. More...

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

Compute the sum of two tuple attributes using the GetAttribute function.

This programs reads the file file1.csv, and computes the sum of columns A and B for each line. This example is similar to SumAttributes, but collapses all functions into a single function tree. This makes the resulting processor chain much simpler. Graphically, this chain of processor can be described as follows:

Processor graph

The output of this program is:

5.0
6.0
5.0
9.0
9.0
Author
Sylvain Hallé
See also
SumAttributes Easy

Definition at line 56 of file SumAttributesTree.java.


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