@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }

        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        BoltOption<?> that = (BoltOption<?>) o;

        return name != null ? name.equals(that.name) : that.name == null;
    }
The base implementation class of the configuration item.

@author chengyi (mark.lx@antfin.com) 2018-11-06 17:25
src/main/java/com/alipay/remoting/config/BoltOption.java