Exemplo n.º 1
0
        public ozellik Search(string s)
        {
            int     index = hash_func(s);
            ozellik goal  = null;

            foreach (ozellik oz in table[index])
            {
                if (oz.attributes.Equals(s))
                {
                    goal = oz;
                    break;
                }
            }
            return(goal);
        }
Exemplo n.º 2
0
        public void Remove(ozellik o)
        {
            int index = hash_func(o.attributes);

            table[index].Remove(o);;
        }
Exemplo n.º 3
0
        public void Add(ozellik o)
        {
            int index = hash_func(o.attributes);

            table[index].Add(o);
        }