API Documentation
class
TakeIterator<
T
>
package
itertools
@:directlyUsed
An iterator that takes the first n elements.
Constructor
new
(
it:
Iterator
<
T
>,
n:
Int
)
Methods
hasNext
():
Bool
next
():
T