public override bool Equals(object obj) { EndLeaf <t1, t2, t3> tempLeaf = obj as EndLeaf <t1, t2, t3>; if (tempLeaf == null) { return(false); } return(tempLeaf.Value.Equals(this.Value)); }
public EndLeaf(EndLeaf <t1, t2, t3> AnotherEndLeaf) : base(AnotherEndLeaf) { this.Value = AnotherEndLeaf.Value.Clone() as IValue <t1, t2>; }