20 lines
512 B
Java
20 lines
512 B
Java
package androidx.collection;
|
|
|
|
import d0.z.d.m;
|
|
/* compiled from: ArraySet.kt */
|
|
/* loaded from: classes.dex */
|
|
public final class ArraySetKt {
|
|
public static final <T> ArraySet<T> arraySetOf() {
|
|
return new ArraySet<>();
|
|
}
|
|
|
|
public static final <T> ArraySet<T> arraySetOf(T... tArr) {
|
|
m.checkParameterIsNotNull(tArr, "values");
|
|
ArraySet<T> arraySet = new ArraySet<>(tArr.length);
|
|
for (T t : tArr) {
|
|
arraySet.add(t);
|
|
}
|
|
return arraySet;
|
|
}
|
|
}
|