package o; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* loaded from: classes.dex */ public final class MYy { public static List c(Iterator it) { ArrayList arrayList = new ArrayList(); while (it.hasNext()) { arrayList.add(it.next()); } return arrayList; } }