what-the-bank/sources/o/FXU.java

19 lines
519 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.lang.reflect.Array;
import java.util.Arrays;
/* loaded from: classes.dex */
public final class FXU {
@SafeVarargs
public static <E> E[] e(int i, E... eArr) {
try {
return (E[]) Arrays.copyOf(eArr, i);
} catch (NoSuchMethodError unused) {
E[] eArr2 = (E[]) ((Object[]) Array.newInstance(eArr.getClass().getComponentType(), i));
System.arraycopy(eArr, 0, eArr2, 0, Math.min(i, eArr.length));
return eArr2;
}
}
}