示例#1
0
        private INode <Entry <K, V> > FindNode(K key)
        {
            var node = table.First();

            while (node != null)
            {
                if (node.Element.Key.Equals(key))
                {
                    return(node);
                }
                node = table.After(node);
            }

            return(null);
        }
示例#2
0
 public EntrySetIterator(DoublyLinkedList <Entry <K, V> > table)
 {
     _table      = table;
     currentNode = _table.First();
 }