package a.c.b;

public class y {
    public static final int b = 0;
    public static final int c = 1;
    public static final int d = 2;
    public static final int e = 4;
    public static final int f = 8;
    public static final int g = 16;
    public static final int h = 32;
    public static final int i = 64;
    public static final int j = 128;

    /* renamed from: a  reason: collision with root package name */
    private int f85a;

    private y(int i2) {
        this.f85a = i2;
    }

    public static y a(int i2) {
        return new y(i2);
    }

    public y a(boolean z) {
        this.f85a = z ? this.f85a | 4 : this.f85a & -5;
        return this;
    }

    public boolean a() {
        return (this.f85a & 4) > 0;
    }

    public int b(int i2) {
        return i2 & this.f85a;
    }

    public y b(boolean z) {
        this.f85a = z ? this.f85a | 8 : this.f85a & -9;
        return this;
    }

    public boolean b() {
        return (this.f85a & 8) > 0;
    }

    public y c(boolean z) {
        this.f85a = z ? this.f85a | 16 : this.f85a & -17;
        return this;
    }

    public boolean c() {
        return (this.f85a & 16) > 0;
    }

    public y d(boolean z) {
        this.f85a = z ? this.f85a | 2 : this.f85a & -3;
        return this;
    }

    public boolean d() {
        return (this.f85a & 2) > 0;
    }

    public y e(boolean z) {
        this.f85a = z ? this.f85a | 32 : this.f85a & -33;
        return this;
    }

    public boolean e() {
        return (this.f85a & 32) > 0;
    }

    public y f(boolean z) {
        this.f85a = z ? this.f85a | 128 : this.f85a & -129;
        return this;
    }

    public boolean f() {
        return (this.f85a & 128) > 0;
    }

    public y g(boolean z) {
        this.f85a = z ? this.f85a | 64 : this.f85a & -65;
        return this;
    }

    public boolean g() {
        return (this.f85a & 64) > 0;
    }

    public y h(boolean z) {
        this.f85a = z ? this.f85a | 1 : this.f85a & -2;
        return this;
    }

    public boolean h() {
        return (this.f85a & 1) > 0;
    }

    public int i() {
        return this.f85a;
    }
}
