示例#1
0
        public override void Clone(FuzzyObject source)
        {
            base.Clone(source);
            FuzzyFixnum S = source as FuzzyFixnum;

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

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