@Override public int hashCode() { int result = pluginJar.hashCode(); result = 31 * result + (pluginProviderDefs != null ? pluginProviderDefs.hashCode() : 0); result = 31 * result + (mainAttributes != null ? mainAttributes.hashCode() : 0); result = 31 * result + (classCache != null ? classCache.hashCode() : 0); return result; }
/** * Returns the hash code for this instance. * * @return this {@code Manifest}'s hashCode. */ @Override public int hashCode() { return mainAttributes.hashCode() ^ getEntries().hashCode(); }
/** Returns the hash code for this Manifest. */ public int hashCode() { return attr.hashCode() + entries.hashCode(); }