Code example for ComponentName

Methods: equals

0
            if (getComponent() != null) { 
                if (!getComponent().equals(other.getComponent())) {
                    return false; 
                } 
            } else { 
                if (!other.getComponent().equals(getComponent())) {
                    return false; 
                } 
            } 
        } 
        if (getCategories() != other.getCategories()) {
            if (getCategories() != null) { 
                if (!getCategories().equals(other.getCategories())) {
                    return false; 
                } 
            } else { 
                if (!other.getCategories().equals(getCategories())) {
                    return false; 
                } 
            } 
        }