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