public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (!(obj instanceof ResourceRequest))
            return false;
        ResourceRequest other = (ResourceRequest) obj;
        if (m_resName == null) {
            if (other.m_resName != null)
                return false;
        } else if (!m_resName.equals(other.m_resName))
            return false;
        if (m_responseListener != other.m_responseListener) {
            return false;
        }
        return true;
    }