A class of simultaneous methods for the zeros of analytic functions