@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null) {
      return false;
    }
    if (!(o instanceof ServerName)) {
      return false;
    }
    return this.compareTo((ServerName) o) == 0;
  }
For internal use only.
@param hostName  the name of the host to use
@param port      the port on the host to use
@param startCode the startcode to use for formatting
@return Server name made of the concatenation of hostname, port and startcode formatted as
        <code>&lt;hostname&gt; ',' &lt;port&gt; ',' &lt;startcode&gt;</code>
hbase-common/src/main/java/org/apache/hadoop/hbase/ServerName.java