public boolean equals()

in mantis-common/src/main/java/io/mantisrx/runtime/parameter/SinkParameter.java [73:97]


    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        SinkParameter other = (SinkParameter) obj;
        if (encodedValue == null) {
            if (other.encodedValue != null)
                return false;
        } else if (!encodedValue.equals(other.encodedValue))
            return false;
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name))
            return false;
        if (value == null) {
            if (other.value != null)
                return false;
        } else if (!value.equals(other.value))
            return false;
        return true;
    }