public boolean equals()

in server/core/src/main/java/org/apache/vysper/xmpp/modules/servicediscovery/management/Item.java [88:107]


    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null) return false;
        if (getClass() != obj.getClass()) return false;
        
        Item other = (Item) obj;
        if (!jid.equals(other.jid)) return false;
        
        if (name == null) {
            if (other.name != null)
                return false;
        } else if (!name.equals(other.name)) return false;
        
        if (node == null) {
            if (other.node != null)
                return false;
        } else if (!node.equals(other.node)) return false;
        
        return true;
    }