@Override
        public int hashCode() {
            return chain.hashCode()+docproc.hashCode()+(doctype!=null?doctype.hashCode():0)+inDocument.hashCode();
        }
Map key. Doctype can be null, not the others.
docproc/src/main/java/com/yahoo/docproc/proxy/SchemaMap.java