public boolean equals()

in metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/dsl/StellarFunctionInfo.java [81:94]


  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    StellarFunctionInfo that = (StellarFunctionInfo) o;

    if (name != null ? !name.equals(that.name) : that.name != null) return false;
    if (description != null ? !description.equals(that.description) : that.description != null) return false;
    if (returns != null ? !returns.equals(that.returns) : that.returns != null) return false;
    // Probably incorrect - comparing Object[] arrays with Arrays.equals
    if (!Arrays.equals(params, that.params)) return false;
    return function != null ? function.equals(that.function) : that.function == null;

  }