35 lines
870 B
Java
35 lines
870 B
Java
package o;
|
|
|
|
import java.util.AbstractList;
|
|
import java.util.RandomAccess;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class zru<T> extends AbstractList<T> implements RandomAccess {
|
|
private final T[] b;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zru(T[] tArr) {
|
|
this.b = tArr;
|
|
}
|
|
|
|
@Override // java.util.AbstractList, java.util.List
|
|
public final T get(int i) {
|
|
return this.b[i];
|
|
}
|
|
|
|
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
|
public final int size() {
|
|
return this.b.length;
|
|
}
|
|
|
|
@Override // java.util.AbstractCollection, java.util.Collection, java.util.List
|
|
public final boolean contains(Object obj) {
|
|
for (T t : this.b) {
|
|
if (t == obj) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
}
|