ArrayPairs[A: A, B: Array[A] #read]
class ref ArrayPairs[A: A, B: Array[A] #read] is Iterator[(USize val , B->A)] ref
Implements
Constructors
create
new ref create( array: B) : ArrayPairs[A, B] ref^
Parameters
- array: B
Returns
- ArrayPairs[A, B] ref^
Public Functions
has_next
fun box has_next() : Bool val
Returns
- Bool val
next
fun ref next() : (USize val , B->A) ?
Returns
- (USize val , B->A) ?
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-ArrayPairs