private Set filterProxies(Set all, Status status)
private Set filterProxies(Set all, Set statusSet)
  private Set filterProxies(Set all, Status status)  {    if (status == null)    {      return all;    }    Set subset = new HashSet();    Iterator iterator = all.iterator();    while (iterator.hasNext())    {      Proxy candidate = (Proxy) (iterator.next());      if (candidate.getStatus().equals(status))      {        subset.add(candidate);      }    }    return subset;  }