/** * Get the hash code for this Resource. * @return hash code as int. */ @Override public int hashCode() { if (isReference()) { return getCheckedRef().hashCode(); } return MAGIC * (getFile() == null ? NULL_FILE : getFile().hashCode()); }
/** * Get the hash code for this Resource. * @return hash code as int. */ @Override public int hashCode() { if (isReference()) { return getCheckedRef().hashCode(); } return MAGIC * (getFile() == null ? NULL_FILE : getFile().hashCode()); }