Esempio n. 1
0
 public ImmutableDictionary <TKey, TValue> Add <TBranchNodes>(TKey key, TValue value, ulong bitmapNodes, TBranchNodes nodes, ulong bitmapValues, uint index)
     where TBranchNodes : struct, IBranchNodes <TKey, TValue>
 {
     return(ValueNodes <TKey, TValue> .Expand <ValueNode0 <TKey, TValue>, ValueNode1 <TKey, TValue>, TBranchNodes>(this, key, value, bitmapNodes,
                                                                                                                   nodes, bitmapValues, index));
 }
Esempio n. 2
0
 public ImmutableDictionary <TKey, TValue> Shrink <TBranchNodes>(ulong bitmapNodes, TBranchNodes nodes, ulong bitmapValues, uint index)
     where TBranchNodes : struct, IBranchNodes <TKey, TValue>
 {
     return(ValueNodes <TKey, TValue> .Shrink <ValueNode8 <TKey, TValue>, ValueNode7 <TKey, TValue>, TBranchNodes>(this, bitmapNodes, nodes, bitmapValues, index));
 }
Esempio n. 3
0
 public TKey GetKey(long index) => ValueNodes <TKey, TValue> .GetKey(this, index);
Esempio n. 4
0
 public TValue GetValue(long index) => ValueNodes <TKey, TValue> .GetValue(this, index);
Esempio n. 5
0
 public bool ContainsKey(TKey key, uint hash, long index) => ValueNodes <TKey, TValue> .ContainsKey(this, key, hash, index);