Generator (computer programming): Difference between revisions

Content deleted Content added
Line 393:
</source>
 
Or mayget bean writtenIterator usingfrom Iterablethe super-interface: BaseStream of Stream interface.
<source lang="java">
public Iterable<Integer> fibonacci(int limit){