|
static void | main (String[] args) |
|
Definition at line 29 of file WithTank.java.
◆ main()
static void basic.WithTank.main |
( |
String [] |
args | ) |
|
|
static |
Definition at line 31 of file WithTank.java.
34 ApplyFunction to_number =
new ApplyFunction(Numbers.numberCast);
35 Tank tank =
new Tank();
36 Cumulate sum =
new Cumulate(
37 new CumulativeFunction<Number>(Numbers.addition));
38 Connector.connect(to_number, tank, sum);
41 Pushable ps = to_number.getPushableInput();
42 Pullable pl = sum.getPullableOutput();
45 System.out.println(pl.pull());
46 System.out.println(pl.pull());
47 System.out.println(pl.pull());
The documentation for this class was generated from the following file: