code: public Collection<EndpointInfo> getEndpointInfos() {
  
          ArrayList<EndpointInfo> values = new ArrayList<EndpointInfo>();
  
          Iterator<String> it = getEndpointNames().iterator();
          // for each endpoint name, iterate over it's list of endpoints and add to values
          while (it.hasNext()) {
              List<EndpointInfo> list = endpointInfoMap.get(it.next());
              for (int i = 0; i < list.size(); i++) {
                  values.add(list.get(i));
              }
          }
          return Collections.unmodifiableCollection(values);
          //return Collections.unmodifiableCollection(endpointInfoMap.values());
      }
docs: /*
  return all endpoints