+str - adds ZipWith and makes Zip use that to create tuples/pairs

This commit is contained in:
Viktor Klang 2014-11-20 21:59:33 +01:00
parent 428a3d61ae
commit 2bd1230ca9
10 changed files with 382 additions and 188 deletions

View file

@ -96,7 +96,7 @@ public class FlowGraphTest extends StreamTest {
final Source<String> in1 = Source.from(input1);
final Source<Integer> in2 = Source.from(input2);
final Zip<String, Integer> zip = Zip.create();
final ZipWith<String, Integer, Pair<String,Integer>> zip = Zip.create();
final KeyedSink<Pair<String, Integer>, Future<BoxedUnit>> out = Sink
.foreach(new Procedure<Pair<String, Integer>>() {
@Override