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