fsprojects/FSharpx.Collections


PersistentHashMap<'T, 'S>

Namespace: FSharpx.Collections

A Map is a collection that maps keys to values. Hash maps require keys that correctly support GetHashCode and Equals. Hash maps provide fast access (log32N hops). count is O(1).

Record Fields

Record FieldDescription
count
Signature: int
hasNull
Signature: bool
nullValue
Signature: 'S
root
Signature: INode

Instance members

Instance memberDescription
Add(key, value)
Signature: (key:'T * value:'S) -> PersistentHashMap<'T,'S>
ContainsKey(key)
Signature: key:'T -> bool
[key]
Signature: key:'T -> 'S

CompiledName: get_Item

Iterator()
Signature: unit -> seq<'T * 'S>
Length
Signature: int

CompiledName: get_Length

Remove(key)
Signature: key:'T -> PersistentHashMap<'T,'S>

Static members

Static memberDescription
Empty()
Signature: unit -> PersistentHashMap<'T,'S>
ofSeq(items)
Signature: (items:seq<'T * 'S>) -> PersistentHashMap<'T,'S>
Fork me on GitHub