public final class CountDownIterable extends Object implements ProtectedBidirectionalIterable<Integer>
CountDownIterable is a ProtectedIterable that generates
Iterators that that yields all integer value between a given
lower bound and a given upper bound.| Constructor and Description |
|---|
CountDownIterable(int fromUpper,
int toLower)
Creates a new
CountDownIterable. |
| Modifier and Type | Method and Description |
|---|---|
CountDownIterator |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CountDownIterable(int fromUpper,
int toLower)
CountDownIterable.fromUpper - The upper bound and first value to be yielded.toLower - The lower bound and last value to be yielded.public CountDownIterator 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.