code: public Point getPoint(String id) {
          for (Point point : points)
              if (id.equals(point.getId()))
                  return point;
          return null;
      }
docs: Return the point with the given id
  @param id
  @return