Beispiel #1
0
        public void addNode(string key, string Value)
        {
            dictNode temp = new dictNode();

            if (!hashTab.Exists(x => x.key == generatehash(key)))
            {
                temp.key   = generatehash(key);
                temp.value = Value;
                hashTab.Add(temp);
            }
        }
Beispiel #2
0
        public void addNode(string key, string Value)
        {

            dictNode temp = new dictNode();
            if (!hashTab.Exists(x => x.key == generatehash(key)))
            {
                temp.key = generatehash(key);
                temp.value = Value;
                hashTab.Add(temp);
            }
            
        }