Esempio n. 1
0
        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));
        }
Esempio n. 2
0
 public EndLeaf(EndLeaf <t1, t2, t3> AnotherEndLeaf) : base(AnotherEndLeaf)
 {
     this.Value = AnotherEndLeaf.Value.Clone() as IValue <t1, t2>;
 }