public int
hashCode() {
	byte [] array = toWireCanonical(true);
	int code = 0;
	for (int i = 0; i < array.length; i++)
		code += ((code << 3) + (array[i] & 0xFF));
	return code;
}
Generates a hash code based on the Record's data.
src/main/java/core/org/xbill/DNS/Record.java