Esempio n. 1
0
        public override void Clone(FuzzyObject source)
        {
            base.Clone(source);
            FuzzyFixnum S = source as FuzzyFixnum;

            if (S != null)
            {
                value = S.value;
            }
        }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            FuzzyFixnum f = obj as FuzzyFixnum;

            if (f == null)
            {
                return(base.Equals(obj));
            }
            return(f.value == value);
        }