@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((container == null) ? 0 : container.hashCode()); result = prime * result + ((run == null) ? 0 : run.hashCode()); return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((container == null) ? 0 : container.hashCode()); return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((input == null) ? 0 : input.hashCode()); return result; }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((container == null) ? 0 : container.hashCode()); result = prime * result + ((position == null) ? 0 : position.hashCode()); result = prime * result + ((run == null) ? 0 : run.hashCode()); return result; }
@Override public int hashCode() { if (getId() != PartitionImpl.UNSAVED_ID) { return (int) getId(); } else { final int PRIME = 37; int hashcode = -1; if (getPartitionNumber() != null) hashcode = PRIME * hashcode + getPartitionNumber().hashCode(); if (getSequencerPartitionContainer() != null) hashcode = PRIME * hashcode + getSequencerPartitionContainer().hashCode(); if (getLoadingConcentration() != null) hashcode = PRIME * hashcode + getLoadingConcentration().hashCode(); if (getLoadingConcentrationUnits() != null) hashcode = PRIME * hashcode + getLoadingConcentrationUnits().hashCode(); return hashcode; } }