48 lines
1.3 KiB
Java
48 lines
1.3 KiB
Java
|
package o;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* renamed from: o.gmq, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes.dex */
|
||
|
final class C15302gmq {
|
||
|
private static final List<C15302gmq> d = new ArrayList();
|
||
|
C15310gmy b;
|
||
|
C15302gmq c;
|
||
|
Object e;
|
||
|
|
||
|
private C15302gmq(Object obj, C15310gmy c15310gmy) {
|
||
|
this.e = obj;
|
||
|
this.b = c15310gmy;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public static C15302gmq c(C15310gmy c15310gmy, Object obj) {
|
||
|
List<C15302gmq> list = d;
|
||
|
synchronized (list) {
|
||
|
int size = list.size();
|
||
|
if (size > 0) {
|
||
|
C15302gmq remove = list.remove(size - 1);
|
||
|
remove.e = obj;
|
||
|
remove.b = c15310gmy;
|
||
|
remove.c = null;
|
||
|
return remove;
|
||
|
}
|
||
|
return new C15302gmq(obj, c15310gmy);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public static void c(C15302gmq c15302gmq) {
|
||
|
c15302gmq.e = null;
|
||
|
c15302gmq.b = null;
|
||
|
c15302gmq.c = null;
|
||
|
List<C15302gmq> list = d;
|
||
|
synchronized (list) {
|
||
|
if (list.size() < 10000) {
|
||
|
list.add(c15302gmq);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|