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

create() публичный статический Метод

Create a PersistentTreeMap from a dictionary.
public static create ( IDictionary other ) : IPersistentMap
other IDictionary The dictionary to initialize from.
Результат IPersistentMap
        public static IPersistentMap create(IDictionary other)
        {
            IPersistentMap ret = EMPTY;
            foreach (DictionaryEntry e in other)
                ret = ret.assoc(e.Key, e.Value);
            return ret;
        }

Same methods

PersistentTreeMap::create ( IComparer comp, ISeq items ) : PersistentTreeMap
PersistentTreeMap::create ( ISeq items ) : PersistentTreeMap