if (p.getName() == name) return p;
if (p.getName().equals(name)) return p;
    public static Provider getProvider(String name) {        Provider p;        int max = providers.size();        for (int i = 0; i < max; i++) {            p = (Provider) providers.elementAt(i);            if (p.getName() == name) return p;        }        return null;    }