Vala.Collections.Lists.zipWithIndex – Valacore Reference Manual
zipWithIndex
Description:
public
static
ArrayList
<
Pair
<
int
,
T
>>
zipWithIndex
<
T
> (
ArrayList
<
T
> list)
Creates (index, element) pairs for a list.
Parameters:
list
source list.
Returns:
index-element pairs.