public static class CBigInteger.FibonacciIterator extends Object implements Iterator<BigInteger>
| Constructor and Description |
|---|
FibonacciIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
There will always be another Fibonacci number.
|
BigInteger |
next()
Gets the next fibonacci number in sequence.
|
void |
remove()
Removing a fibonacci number is unsupported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
hasNext in interface Iterator<BigInteger>public BigInteger next()
next in interface Iterator<BigInteger>public void remove()
remove in interface Iterator<BigInteger>UnsupportedOperationException - Always!Copyright © 2008–2017. All rights reserved.