@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;
 }
Beispiel #2
0
 /**
  * Returns the hash code for this instance.
  *
  * @return this {@code Manifest}'s hashCode.
  */
 @Override
 public int hashCode() {
   return mainAttributes.hashCode() ^ getEntries().hashCode();
 }
Beispiel #3
0
 /** Returns the hash code for this Manifest. */
 public int hashCode() {
   return attr.hashCode() + entries.hashCode();
 }