/*
 * Decompiled with CFR 0.152.
 */
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.DataOutput;
import java.util.Vector;

public final class hl
extends mg {
    private final Vector a;
    private final jt c;

    public final boolean y_() {
        return true;
    }

    public final boolean z_() {
        return true;
    }

    public final void b(int n) {
    }

    public final void a(int n) {
    }

    public final void a(mg mg2) {
        this.a.addElement(mg2);
    }

    public hl(jt jt2) {
        super(26);
        this.c = jt2;
        this.a = new Vector();
    }

    public final boolean a(int n, ke ke2, byte[] byArray) {
        mg mg2 = (mg)jt.a(this.c).get(ke2);
        if (mg2 != null) {
            if (mg2.a()) {
                mg2 = new mg(ke2);
            }
        } else {
            mg2 = new mg(ke2);
        }
        if (byArray.length != 0) {
            mg2.a(new DataInputStream(new ByteArrayInputStream(byArray)));
        } else {
            mg2.a(System.currentTimeMillis(), new jm[0][]);
        }
        synchronized (this) {
            jt.b(this.c).put(ke2, mg2);
            jt.a(this.c).remove(ke2);
        }
        return false;
    }

    public final void a(DataOutput dataOutput) {
        ke[] keArray = new ke[this.a.size()];
        for (int i = 0; i < this.a.size(); ++i) {
            keArray[i] = ((mg)this.a.elementAt((int)i)).b;
        }
        this.a(keArray, dataOutput);
    }
}

