public final class CountUpIterable extends Object implements Iterable<Integer>
CountUpIterable 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
CountUpIterator.
| Constructor and Description |
|---|
CountUpIterable(int fromLower,
int toUpper)
Creates a new
CountUpIterable from the given lower and upper
bound. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Integer> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CountUpIterable(int fromLower,
int toUpper)
CountUpIterable from the given lower and upper
bound.fromLower - The lower bound and first value to be yielded.toUpper - The upper bound and last value to be yielded.Copyright © 2015 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.