package d;

import com.seewo.libmcuservice.constant.IMcuConstants;

/* JADX INFO: compiled from: UByte.kt */
/* JADX INFO: loaded from: classes.dex */
@n
public final class w implements Comparable<w> {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final a f2737c = new a(null);

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private final byte f2738d;

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

        public /* synthetic */ a(d.n0.c.l lVar) {
            this();
        }
    }

    private /* synthetic */ w(byte b2) {
        this.f2738d = b2;
    }

    public static final /* synthetic */ w a(byte b2) {
        return new w(b2);
    }

    public static byte b(byte b2) {
        return b2;
    }

    public static boolean c(byte b2, Object obj) {
        return (obj instanceof w) && b2 == ((w) obj).f();
    }

    public static int d(byte b2) {
        return b2;
    }

    public static String e(byte b2) {
        return String.valueOf(b2 & IMcuConstants.DEFAULT_VALUE);
    }

    @Override // java.lang.Comparable
    public /* bridge */ /* synthetic */ int compareTo(w wVar) {
        return d.n0.c.s.f(f() & IMcuConstants.DEFAULT_VALUE, wVar.f() & IMcuConstants.DEFAULT_VALUE);
    }

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

    public final /* synthetic */ byte f() {
        return this.f2738d;
    }

    public int hashCode() {
        return d(this.f2738d);
    }

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