public bool Equals(ICodonConverter other) { return other != null && this.Identifier.Equals(other.Identifier); }
public int CompareTo(ICodonConverter other) { return this.Identifier.CompareTo(other.Identifier); }
/// <summary> /// Adds the specified ICodonConverter to the IGeneticCode. /// /// Sets the Parent of the given ICodonConverter. /// </summary> /// <param name="codonConverter"></param> public void AddCodonConverter(ICodonConverter codonConverter) { codonConverter.Parent = this; this.CodonConverters.Add(key: codonConverter.Identifier, value: codonConverter); }