public boolean
equals(Object arg) {
	if (arg == null || !(arg instanceof EDNSOption))
		return false;
	EDNSOption opt = (EDNSOption) arg;
	if (code != opt.code)
		return false;
	return Arrays.equals(getData(), opt.getData());
}
Determines if two EDNS Options are identical.
@param arg The option to compare to
@return true if the options are equal, false otherwise.
src/main/java/core/org/xbill/DNS/EDNSOption.java