Content deleted Content added
Line 346:
public Iterator<Integer> iterator() {
return new Iterator<Integer>() {
int a = 1, b = 1;
int total;
Line 381 ⟶ 380:
<source lang="java">
Stream.generate(new Supplier<Integer>() {
int a = 1, b = 2;
public Integer get() {
int temp = a;
Line 397 ⟶ 395:
return ()->{
return Stream.generate(new Supplier<Integer>() {
int a = 1, b = 2;
public Integer get() {
int temp = a;
|