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

36 lines
1.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.io.Serializable;
/* renamed from: o.gaj, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C14869gaj<T> implements InterfaceC13393fZL<T>, Serializable {
private InterfaceC14890gbN<? extends T> b;
private Object d;
public C14869gaj(InterfaceC14890gbN<? extends T> interfaceC14890gbN) {
C14957gcv.e(interfaceC14890gbN, "");
this.b = interfaceC14890gbN;
this.d = C14867gah.b;
}
@Override // o.InterfaceC13393fZL
public final T e() {
if (this.d == C14867gah.b) {
InterfaceC14890gbN<? extends T> interfaceC14890gbN = this.b;
C14957gcv.e(interfaceC14890gbN);
this.d = interfaceC14890gbN.invoke();
this.b = null;
}
return (T) this.d;
}
public final String toString() {
return this.d != C14867gah.b ? String.valueOf(e()) : "Lazy value not initialized yet.";
}
private final Object writeReplace() {
return new fZM(e());
}
}