zipString


Description:

public static ArrayList<Pair<string,string>> zipString (ArrayList<string> a, ArrayList<string> b)

Combines two string lists into a list of Pairs. The result length is the minimum of both list sizes.

Example:

    var pairs = Lists.zipString (keys, values);

Parameters:

a

the first list.

b

the second list.

Returns:

an ArrayList of Pairs.