Example:
{@code Iterator@author Chris Povirk @since 12.0 (in Guava as {@code AbstractLinkedIterator} since 8.0)powersOfTwo = }new AbstractSequentialIterator (1) protected Integer computeNext(Integer previous) { return (previous == 1 << 30) ? null : previous * 2; } };}
|
|
|
|