17 lines
367 B
Java
17 lines
367 B
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class MYy {
|
|
public static <T> List<T> c(Iterator<? extends T> it) {
|
|
ArrayList arrayList = new ArrayList();
|
|
while (it.hasNext()) {
|
|
arrayList.add(it.next());
|
|
}
|
|
return arrayList;
|
|
}
|
|
}
|