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

35 lines
870 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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;
}
}