public static HayesModem Test2() { ModemVisitor u = new UnixModemConfigurator(); HayesModem h = new HayesModem(); h.accept(u); return h; }
static public HayesModem Test2() { ModemVisitor u = new UnixModemConfigurator(); HayesModem h = new HayesModem(); h.accept(u); return(h); }
public static String Test() { ModemVisitor u = new UnixModemConfigurator(); HayesModem h = new HayesModem(); ErnieModem e = new ErnieModem(); h.accept(u); e.accept(u); return h.configurationString+" "+e.internalPattern; }
static public String Test() { ModemVisitor u = new UnixModemConfigurator(); HayesModem h = new HayesModem(); ErnieModem e = new ErnieModem(); h.accept(u); e.accept(u); return(h.configurationString + " " + e.internalPattern); }