public final class CountDownIterable extends Object implements Iterable<Integer>
CountDownIterable is a Iterable that generates
Iterators that that yields all integer value between a given
lower value and a given upper bound.
Calling iterator() creates an instance of
CountDownIterator.
| Constructor and Description |
|---|
CountDownIterable(int fromUpper,
int toLower)
Creates a new
CountDownIterable from the given upper and lower
bound. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Integer> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CountDownIterable(int fromUpper,
int toLower)
CountDownIterable from the given upper and lower
bound.fromUpper - The upper bound and first value to be yielded.toLower - The lower bound and last value to be yielded.Copyright © 2015 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.