code: private double maxScore(List<InetAddress> endpoints)
      {
          double maxScore = -1.0;
          for (InetAddress endpoint : endpoints)
          {
              Double score = scores.get(endpoint);
              if (score == null)
                  continue;
  
              if (score > maxScore)
                  maxScore = score;
          }
          return maxScore;
      }
docs: Return the max score for the endpoint in the provided list, or -1.0 if no node have a score.