private boolean equalType(SchemaMapKey other) {
            if (doctype==null) return other.getDoctype()==null;
            return doctype.equals(other.getDoctype());
        }
Map key. Doctype can be null, not the others.
docproc/src/main/java/com/yahoo/docproc/proxy/SchemaMap.java