T
- Element typepublic final class Limited<T> extends Object implements Iterable<T>
This is a view of an existing iterable containing the given number of its first elements.
There is no thread-safety guarantee.
Constructor and Description |
---|
Limited(Iterable<T> itr,
int lmt)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
Copyright © 2017 Cactoos. All rights reserved.