An iterator that takes the first n elements.

Constructor

new(it:Iterator<T>, n:Int)

Methods

hasNext():Bool

next():T