package android.support.constraint.i.j;

import java.util.HashSet;
import java.util.Iterator;

/* JADX INFO: compiled from: ResolutionNode.java */
/* JADX INFO: loaded from: classes.dex */
public class n {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    HashSet<n> f476a = new HashSet<>(2);

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    int f477b = 0;

    public void a(n nVar) {
        this.f476a.add(nVar);
    }

    public void b() {
        this.f477b = 1;
        Iterator<n> it = this.f476a.iterator();
        while (it.hasNext()) {
            it.next().f();
        }
    }

    public void c() {
        this.f477b = 0;
        Iterator<n> it = this.f476a.iterator();
        while (it.hasNext()) {
            it.next().c();
        }
    }

    public boolean d() {
        return this.f477b == 1;
    }

    public void e() {
        this.f477b = 0;
        this.f476a.clear();
    }

    public void f() {
    }
}
