package e;

import java.io.Serializable;

/* JADX INFO: loaded from: classes.dex */
public final class n<T> implements b<T>, Serializable {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public e.s.b.a<? extends T> f5942b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public Object f5943c;

    public n(e.s.b.a<? extends T> aVar) {
        e.s.c.i.e(aVar, "initializer");
        this.f5942b = aVar;
        this.f5943c = j.f5939a;
    }

    @Override // e.b
    public T getValue() {
        if (this.f5943c == j.f5939a) {
            e.s.b.a<? extends T> aVar = this.f5942b;
            e.s.c.i.c(aVar);
            this.f5943c = aVar.a();
            this.f5942b = null;
        }
        return (T) this.f5943c;
    }

    public String toString() {
        return this.f5943c != j.f5939a ? String.valueOf(getValue()) : "Lazy value not initialized yet.";
    }
}
