コード例 #1
0
ファイル: SRMURL.java プロジェクト: kreczko/storm
  /*
   * (non-Javadoc)
   *
   * @see java.lang.Object#hashCode()
   */
  @Override
  public int hashCode() {

    final int prime = 31;
    int result = 17;
    result = prime * result + local;
    result = prime * result + (localSURL ? 1231 : 1237);
    result = prime * result + ((path == null) ? 0 : path.hashCode());
    result = prime * result + ((queryString == null) ? 0 : queryString.hashCode());
    result = prime * result + ((surlType == null) ? 0 : surlType.hashCode());
    result = prime * result + ((transfProtocol == null) ? 0 : transfProtocol.hashCode());
    return result;
  }