组合操作

Streams
  .range(1, 100)
  .zipWith( Streams.generate(System::currentTimeMillis), tuple -> tuple ) //1
  .consume(
    tuple -> System.out.println("number: "+tuple.getT1()+" time: "+tuple.getT2()) , //2
    Throwable::printStackTrace,
    avoid -> System.out.println("--complete--")
  );
功能 API 或工厂方法 角色