Beispiel #1
0
        public static void dictDeleteDict(Dictionary dict)
        {
            Node node, next;
            for (node = dict.head.next; node != dict.head; node = next)
            {
                next = node.next;
                node = null;
            }

            dict = null;
        }
Beispiel #2
0
        public static Node dictSearch(Dictionary dict, DictKey key)
        {
            Node node = dict.head;

            do
            {
                node = node.next;
            } while (node.Key != null && !ActiveRegion.EdgeLeq(dict.tesseator, key, node.Key));

            return node;
        }