package com.ifpdos.autotest.p0.b;

import android.net.NetworkInfo;
import java.util.HashMap;
import java.util.Map;

/* JADX INFO: compiled from: WifiEntry.java */
/* JADX INFO: loaded from: classes.dex */
public class f implements Comparable<f> {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final Map<Class<? extends b>, b> f2327c = i();

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private b f2328d;

    public f() {
        j(d.class);
    }

    private Map<Class<? extends b>, b> i() {
        HashMap map = new HashMap();
        d dVar = new d(this);
        e eVar = new e(this);
        a aVar = new a(this);
        map.put(d.class, dVar);
        map.put(e.class, eVar);
        map.put(a.class, aVar);
        return map;
    }

    @Override // java.lang.Comparable
    /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
    public int compareTo(f fVar) {
        return this.f2328d.compareTo(fVar.f2328d);
    }

    public String b() {
        return this.f2328d.b();
    }

    public int c() {
        return this.f2328d.c();
    }

    public NetworkInfo d() {
        return this.f2328d.d();
    }

    public int e() {
        return this.f2328d.e();
    }

    public int f(int i) {
        return this.f2328d.f(i);
    }

    public c g() {
        return this.f2328d.g();
    }

    public String h() {
        return this.f2328d.h();
    }

    void j(Class<? extends b> cls) {
        this.f2328d = this.f2327c.get(cls);
    }

    public String toString() {
        return this.f2328d.toString();
    }
}
