40 lines
1.0 KiB
Java
40 lines
1.0 KiB
Java
|
package o;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class TAS {
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface LWm<T> {
|
||
|
T c();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Add missing generic type declarations: [T] */
|
||
|
/* renamed from: o.TAS$4, reason: invalid class name */
|
||
|
/* loaded from: classes.dex */
|
||
|
public class AnonymousClass4<T> implements LWm<T> {
|
||
|
private volatile T c;
|
||
|
private LWm e;
|
||
|
|
||
|
public AnonymousClass4(LWm lWm) {
|
||
|
this.e = lWm;
|
||
|
}
|
||
|
|
||
|
@Override // o.TAS.LWm
|
||
|
public final T c() {
|
||
|
if (this.c == null) {
|
||
|
synchronized (this) {
|
||
|
if (this.c == null) {
|
||
|
T t = (T) this.e.c();
|
||
|
if (t != null) {
|
||
|
this.c = t;
|
||
|
} else {
|
||
|
throw new NullPointerException("Argument must not be null");
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return this.c;
|
||
|
}
|
||
|
}
|
||
|
}
|