zip method

List<Tuple4<T, S, X, Z>> zip()

Implementation

List<Tuple4<T, S, X, Z>> zip() {
  List<Tuple4<T, S, X, Z>> l = [];
  for (int i = 0; i < item1.length; i++) {
    l.add(Tuple4(item1[i], item2[i], item3[i], item4[i]));
  }
  return l;
}