Exemplo n.º 1
0
 /// <summary>
 /// 動作の適用2(ByVal)
 /// </summary>
 /// <param name="v"></param>
 /// <param name="action"></param>
 /// <returns></returns>
 internal static IVector ForEach(IVector v, ElementActionByValWithIndex action)
 {
     for (int i = 0; i < v.Size; ++i)
     {
         action(i, v[i]);
     }
     return(v);
 }
Exemplo n.º 2
0
 IVector IVector.ForEach(ElementActionByValWithIndex action)
 {
     return(VectorImpl.ForEach(this, action));
 }
Exemplo n.º 3
0
 IVector IVector.ForEach(ElementActionByValWithIndex action)
 {
     return VectorImpl.ForEach(this, action);
 }