public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } Org.Apache.Hadoop.Mapreduce.V2.App.Launcher.ContainerLauncherEvent other = (Org.Apache.Hadoop.Mapreduce.V2.App.Launcher.ContainerLauncherEvent )obj; if (containerID == null) { if (other.containerID != null) { return(false); } } else { if (!containerID.Equals(other.containerID)) { return(false); } } if (containerMgrAddress == null) { if (other.containerMgrAddress != null) { return(false); } } else { if (!containerMgrAddress.Equals(other.containerMgrAddress)) { return(false); } } if (containerToken == null) { if (other.containerToken != null) { return(false); } } else { if (!containerToken.Equals(other.containerToken)) { return(false); } } if (taskAttemptID == null) { if (other.taskAttemptID != null) { return(false); } } else { if (!taskAttemptID.Equals(other.taskAttemptID)) { return(false); } } return(true); }