Iterator and Generator builder like Java8' stream API