Skip to content

Instantly share code, notes, and snippets.

@axrami
axrami / Fibonacci.java
Created May 11, 2016 — forked from abhin4v/Fibonacci.java
Python-style Generator in Java
View Fibonacci.java
package net.abhinavsarkar.util;
/**
* A (infinite) Fibonacci number generator.
*
* @author Abhinav Sarkar
*/
public class Fibonacci extends Generator<Integer> {
You can’t perform that action at this time.