Exemple #1
0
 protected override AListInnerBase <int, T> SplitRoot(AListNode <int, T> left, AListNode <int, T> right)
 {
     return(new AListInner <T>(left, right, _maxInnerSize));
 }
Exemple #2
0
 protected SparseAList(AListBase <int, T> original, AListNode <int, T> section) : base(original, section)
 {
 }
Exemple #3
0
 public void NodeAdded(AListNode <K, T> child, AListInnerBase <K, T> parent)
 {
     NodeCount++;
 }
Exemple #4
0
 public void NodeRemoved(AListNode <K, T> child, AListInnerBase <K, T> parent)
 {
     NodeCount--;
 }
Exemple #5
0
 public void Detach(AListBase <K, T> list, AListNode <K, T> root)
 {
     throw new NotImplementedException();                 // should not be called
 }
Exemple #6
0
 protected BList(BList <T> original, AListNode <T, T> section)
     : base(original, section)
 {
     _compareItems = original._compareItems;
 }
Exemple #7
0
 void IAListTreeObserver <K, T> .RemoveAll(AListNode <K, T> node) => Forget(node);
Exemple #8
0
 void IAListTreeObserver <K, T> .NodeRemoved(AListNode <K, T> child, AListInnerBase <K, T> parent) => Forget(parent);
Exemple #9
0
 void IAListTreeObserver <K, T> .AddAll(AListNode <K, T> node)
 {
 }
Exemple #10
0
 protected override AListInnerBase <K, KeyValuePair <K, V> > SplitRoot(AListNode <K, KeyValuePair <K, V> > left, AListNode <K, KeyValuePair <K, V> > right)
 {
     return(new BDictionaryInner <K, V>(left, right, _maxInnerSize));
 }
Exemple #11
0
 protected BDictionary(BDictionary <K, V> original, AListNode <K, KeyValuePair <K, V> > section)
     : base(original, section)
 {
     _compareKeys = original._compareKeys;
 }