clojure.lang.PersistentTreeMap.NodeAt C# (CSharp) Метод

NodeAt() приватный Метод

Get the Node containing a key, or null if key not in tree.
private NodeAt ( object key ) : Node
key object The key to find.
Результат Node
        Node NodeAt(object key)
        {
            Node t = _tree;
            while (t != null)
            {
                int c = DoCompare(key, t.Key);
                if (c == 0)
                    return t;
                else if (c < 0)
                    t = t.Left;
                else
                    t = t.Right;
            }
            return t;
        }