@Override
 public int hashCode() {
   int result = hostname != null ? hostname.hashCode() : 0;
   result = 31 * result + (domainname != null ? domainname.hashCode() : 0);
   result = 31 * result + (user != null ? user.hashCode() : 0);
   result = 31 * result + (attachStdin != null ? attachStdin.hashCode() : 0);
   result = 31 * result + (attachStdout != null ? attachStdout.hashCode() : 0);
   result = 31 * result + (attachStderr != null ? attachStderr.hashCode() : 0);
   result = 31 * result + (portSpecs != null ? portSpecs.hashCode() : 0);
   result = 31 * result + (exposedPorts != null ? exposedPorts.hashCode() : 0);
   result = 31 * result + (tty != null ? tty.hashCode() : 0);
   result = 31 * result + (openStdin != null ? openStdin.hashCode() : 0);
   result = 31 * result + (stdinOnce != null ? stdinOnce.hashCode() : 0);
   result = 31 * result + (env != null ? env.hashCode() : 0);
   result = 31 * result + (cmd != null ? cmd.hashCode() : 0);
   result = 31 * result + (image != null ? image.hashCode() : 0);
   result = 31 * result + (volumes != null ? volumes.hashCode() : 0);
   result = 31 * result + (workingDir != null ? workingDir.hashCode() : 0);
   result = 31 * result + (entrypoint != null ? entrypoint.hashCode() : 0);
   result = 31 * result + (networkDisabled != null ? networkDisabled.hashCode() : 0);
   result = 31 * result + (onBuild != null ? onBuild.hashCode() : 0);
   result = 31 * result + (labels != null ? labels.hashCode() : 0);
   result = 31 * result + (macAddress != null ? macAddress.hashCode() : 0);
   result = 31 * result + (hostConfig != null ? hostConfig.hashCode() : 0);
   result = 31 * result + (stopSignal != null ? stopSignal.hashCode() : 0);
   return result;
 }
Example #2
0
 @Override
 protected int computeHash() {
   int hashCode = 1;
   hashCode = hashCode * Constants.HASH_PRIME + elements.hashCode();
   hashCode = hashCode * Constants.HASH_PRIME + collectionPatterns.hashCode();
   hashCode = hashCode * Constants.HASH_PRIME + collectionFunctions.hashCode();
   hashCode = hashCode * Constants.HASH_PRIME + collectionVariables.hashCode();
   return hashCode;
 }
Example #3
0
 @Override
 public int hashCode() {
   int result = originalTarget.hashCode();
   result = 31 * result + documentSourceName.hashCode();
   result = 31 * result + (pageIdentifier != null ? pageIdentifier.hashCode() : 0);
   result = 31 * result + (rendered ? 1 : 0);
   result = 31 * result + (renditionMimeType != null ? renditionMimeType.hashCode() : 0);
   result = 31 * result + (alternateStylesheet != null ? alternateStylesheet.hashCode() : 0);
   result = 31 * result + (tags != null ? tags.hashCode() : 0);
   result = 31 * result + (displayProblems ? 1 : 0);
   result = 31 * result + (resourceExtension != null ? resourceExtension.hashCode() : 0);
   return result;
 }
Example #4
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = super.hashCode();
   result = prime * result + ((autoexpanding == null) ? 0 : autoexpanding.hashCode());
   result = prime * result + ((bits == null) ? 0 : bits.hashCode());
   result = prime * result + ((claimed == null) ? 0 : claimed.hashCode());
   result = prime * result + ((description == null) ? 0 : description.hashCode());
   result = prime * result + ((driveType == null) ? 0 : driveType.hashCode());
   result = prime * result + ((encryptionCipher == null) ? 0 : encryptionCipher.hashCode());
   result = prime * result + ((encryptionKey == null) ? 0 : encryptionKey.hashCode());
   result = prime * result + ((free == null) ? 0 : free.hashCode());
   result = prime * result + ((imaging == null) ? 0 : imaging.hashCode());
   result = prime * result + ((installNotes == null) ? 0 : installNotes.hashCode());
   result = prime * result + ((metrics == null) ? 0 : metrics.hashCode());
   result = prime * result + ((os == null) ? 0 : os.hashCode());
   result = prime * result + ((status == null) ? 0 : status.hashCode());
   result = prime * result + ((type == null) ? 0 : type.hashCode());
   result = prime * result + ((url == null) ? 0 : url.hashCode());
   result = prime * result + ((user == null) ? 0 : user.hashCode());
   return result;
 }
Example #5
0
 @Override
 public int hashCode() {
   return symlinks.hashCode();
 }