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