public ID getCoordinator() {
    for (ID addr : members) {
      if (addr.preferredForCoordinator()) {
        return addr;
      }
    }
    if (members.size() > 0) {
      return members.get(0);
    }
    return null;
  }
Returns the ID from this view that is equal to the argument. If no such ID exists the argument
is returned.
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/api/MembershipView.java