예제 #1
0
        public override object Clone()
        {
            FuzzyHash fh = new FuzzyHash(defaultValue);
            object    Value;

            foreach (object Key in fh.Keys)
            {
                Value = fh[Key];
                fh.Add(Dup(Key), Dup(Value));
            }
            return(fh);
        }
예제 #2
0
        public override void Clone(FuzzyObject source)
        {
            base.Clone(source);
            FuzzyHash S = source as FuzzyHash;

            if (S != null)
            {
                Clear();
                foreach (object key in S.Keys)
                {
                    Add(Dup(key), Dup(S[key]));
                }
            }
        }
예제 #3
0
 public FuzzyHashDebugView(FuzzyHash hashtable)
 {
     this.hashtable = hashtable;
 }