Files
rr3-apk/decompiled/sources/com/google/common/collect/Iterables.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

18 lines
489 B
Java

package com.google.common.collect;
import java.util.Collection;
/* loaded from: classes3.dex */
public abstract class Iterables {
public static Object[] toArray(Iterable iterable) {
return castOrCopyToCollection(iterable).toArray();
}
public static Collection castOrCopyToCollection(Iterable iterable) {
if (iterable instanceof Collection) {
return (Collection) iterable;
}
return Lists.newArrayList(iterable.iterator());
}
}