public List<T> getServers() {
    List<T> servers = new ArrayList<>(mRegistry.values());
    Collections.sort(servers, new DependencyComparator());
    return servers;
  }
public List < T > getServers ( ) { List < T > servers = new ArrayList < > ( mRegistry . values ( ) ) ; Collections . sort ( servers , new DependencyComparator ( ) ) ; return servers ; }
@return a list of all the registered {@link Server}s, order by dependency relation