示例#1
0
文件: List.cs 项目: HurricanKai/Towel
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 /// <runtime>O(n * step)</runtime>
 public void Stepper(StepRef <T> step) =>
 StepperRef <StepRefRuntime <T> >(step);
示例#2
0
 public void Stepper(StepRef <T, T> function)
 {
     throw new System.NotImplementedException();
 }
示例#3
0
文件: Queue.cs 项目: Thaina/Towel
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _queue.Stepper(step, 0, _count);
示例#4
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _list.Stepper(step, 0, _count);
示例#5
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step_delegate">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step_delegate)
 {
     Stepper(step_delegate, this._root);
 }
示例#6
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _heap.Stepper(step, 1, _count + 1);
示例#7
0
 /// <summary>Does an optimized step function (right to left) for sorted binary search trees.</summary>
 /// <param name="step">The step function.</param>
 /// <param name="minimum">The minimum step value.</param>
 /// <param name="maximum">The maximum step value.</param>
 public void StepperReverse(StepRef <T> step, T minimum, T maximum)
 {
     throw new System.NotImplementedException();
 }
示例#8
0
 /// <summary>Invokes a delegate for each entry in the data structure (right to left).</summary>
 /// <param name="step_delegate">The delegate to invoke on each item in the structure.</param>
 public void StepperReverse(StepRef <T> step_delegate)
 {
     this.StepperReverse(step_delegate, this._root);
 }
示例#9
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step)
 {
     throw new NotImplementedException();
 }
示例#10
0
文件: Heap.cs 项目: pfriesch/Towel
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _heap.Stepper(1, _count + 1, step);
示例#11
0
 /// <summary>Invokes a delegate for each entry in the data structure.</summary>
 /// <param name="step">The delegate to invoke on each item in the structure.</param>
 public void Stepper(StepRef <T> step) => _array.Stepper(step, 0, _count);