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> f5957b;

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

    public n(e.s.b.a<? extends T> aVar) {
        e.s.c.k.e(aVar, "initializer");
        this.f5957b = aVar;
        this.f5958c = j.f5954a;
    }

    @Override // e.b
    public T getValue() {
        if (this.f5958c == j.f5954a) {
            e.s.b.a<? extends T> aVar = this.f5957b;
            e.s.c.k.c(aVar);
            this.f5958c = aVar.a();
            this.f5957b = null;
        }
        return (T) this.f5958c;
    }

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