package j;

/* JADX INFO: compiled from: UShort.kt */
/* JADX INFO: loaded from: classes.dex */
public final class e0 implements Comparable<e0> {
    public static final a d = new a(null);
    private final short b;

    /* JADX INFO: compiled from: UShort.kt */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(j.p0.d.j jVar) {
            this();
        }
    }

    private /* synthetic */ e0(short s) {
        this.b = s;
    }

    public static final /* synthetic */ e0 a(short s) {
        return new e0(s);
    }

    public static short b(short s) {
        return s;
    }

    public static boolean c(short s, Object obj) {
        return (obj instanceof e0) && s == ((e0) obj).f();
    }

    public static int d(short s) {
        return s;
    }

    public static String e(short s) {
        return String.valueOf(s & 65535);
    }

    @Override // java.lang.Comparable
    public /* bridge */ /* synthetic */ int compareTo(e0 e0Var) {
        return j.p0.d.r.h(f() & 65535, e0Var.f() & 65535);
    }

    public boolean equals(Object obj) {
        return c(this.b, obj);
    }

    public final /* synthetic */ short f() {
        return this.b;
    }

    public int hashCode() {
        short s = this.b;
        d(s);
        return s;
    }

    public String toString() {
        return e(this.b);
    }
}
