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