public void restoreXml(XmlPullParser parser, WeightFactory w) {
		tf = 0;
		idf = 0;
		XmlElement el = parser.start("hash");
		String str = el.getAttribute("tf");
		if (str != null) {
			tf = (short) SpecXmlUtils.decodeInt(str);
			tf -= 1;
		}
		str = el.getAttribute("idf");
		if (str != null) {
			idf = (short) SpecXmlUtils.decodeInt(str);
		}
		hash = SpecXmlUtils.decodeInt(parser.end().getText());
		coeff = w.getCoeff(idf, tf);
	}
Eclipse-generated equals function. 

@param obj
@return
Ghidra/Framework/Generic/src/main/java/generic/lsh/vector/HashEntry.java