public boolean equals()

in dbus-java/src/main/java/org/freedesktop/dbus/RemoteObject.java [31:62]


    public boolean equals(Object o) {
        if (!(o instanceof RemoteObject)) {
            return false;
        }
        RemoteObject them = (RemoteObject) o;

        if (!them.objectpath.equals(this.objectpath)) {
            return false;
        }

        if (null == this.busname && null != them.busname) {
            return false;
        }
        if (null != this.busname && null == them.busname) {
            return false;
        }
        if (null != them.busname && !them.busname.equals(this.busname)) {
            return false;
        }

        if (null == this.iface && null != them.iface) {
            return false;
        }
        if (null != this.iface && null == them.iface) {
            return false;
        }
        if (null != them.iface && !them.iface.equals(this.iface)) {
            return false;
        }

        return true;
    }