Ejemplo 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));
 }
Ejemplo 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));
 }
Ejemplo n.º 3
0
 public TKey GetKey(long index) => ValueNodes <TKey, TValue> .GetKey(this, index);
Ejemplo n.º 4
0
 public TValue GetValue(long index) => ValueNodes <TKey, TValue> .GetValue(this, index);
Ejemplo n.º 5
0
 public bool ContainsKey(TKey key, uint hash, long index) => ValueNodes <TKey, TValue> .ContainsKey(this, key, hash, index);