class TotalValencyAtom extends SMARTSAtom {

    @Override
    public boolean matches(IAtom atom) {
        return invariants(atom).valence() == valence;
    }

    public  TotalValencyAtom(int valence, IChemObjectBuilder builder);

}