public final class CountUpIterable extends Object implements ProtectedBidirectionalIterable<Integer>
CountUpIterable is a ProtectedBidirectionalIterable that
generates Iterators that that yields all integer value
between a given lower bound and a given upper bound.| Constructor and Description |
|---|
CountUpIterable(int fromLower,
int toUpper)
Creates a new
CountUpIterable. |
| Modifier and Type | Method and Description |
|---|---|
CountUpIterator |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CountUpIterable(int fromLower,
int toUpper)
CountUpIterable.fromLower - The lower bound and first value to be yielded.toUpper - The upper bound and last value to be yielded.public CountUpIterator iterator()
ProtectedBidirectionalIterableProtectedIterator.iterator in interface Iterable<Integer>iterator in interface BidirectionalIterable<Integer>iterator in interface ProtectedBidirectionalIterable<Integer>ProtectedIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.