@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RestRequestBatchKey other = (RestRequestBatchKey) obj; if (_request == null) { if (other._request != null) return false; } else if (!_request.equals(other._request)) return false; if (_requestContext == null) { if (other._requestContext != null) return false; } else if (!_requestContext.equals(other._requestContext)) return false; return true; }