九游游戏中心HD v4.6.8.1版本的 MD5 值为:78c397802cc5ffdcc7f5502ede90502e

以下内容为反编译后的 n.java 源代码,内容仅作参考


package com.e.d;

import com.e.b.af;
import com.e.b.ah;
import com.e.b.ak;
import com.e.b.al;
public final class n<T> {
    public final ak f4208a;
    public final T b;
    private final al c;

    public static <T> n<T> a(T t) {
        ak.a aVar = new ak.a();
        aVar.c = 200;
        aVar.d = "OK";
        aVar.b = af.HTTP_1_1;
        aVar.f4124a = new ah.a().a("http://localhost/").a();
        return a(t, aVar.a());
    }

    public static <T> n<T> a(T t, ak akVar) {
        if (akVar == null) {
            throw new NullPointerException("rawResponse == null");
        }
        if (!akVar.a()) {
            throw new IllegalArgumentException("rawResponse must be successful response");
        }
        return new n<>(akVar, t, null);
    }

    public static <T> n<T> a(al alVar, ak akVar) {
        if (alVar == null) {
            throw new NullPointerException("body == null");
        }
        if (akVar == null) {
            throw new NullPointerException("rawResponse == null");
        }
        if (akVar.a()) {
            throw new IllegalArgumentException("rawResponse should not be successful response");
        }
        return new n<>(akVar, null, alVar);
    }

    private n(ak akVar, T t, al alVar) {
        this.f4208a = akVar;
        this.b = t;
        this.c = alVar;
    }
}