bookmark

Oh No, I Forgot Stream::iterate! - blog@CodeFX


Description

Stream.iterate(1, i -> i <= 3, i -> i + 1) .forEach(System.out::println); // output: 1 2 3

Preview

Tags

Users

  • @jil

Comments and Reviews