예제 #1
0
파일: List.cs 프로젝트: zhangxin8105/LGame
        public static void ReplaceAll(List <V> @this, java.util.function.UnaryOperator unaryoperator)
        {
            int s = @this.Size();

            for (int i = 0; i < s; i++)
            {
                @this.Set(i, (V)unaryoperator.Apply(@this.Get(i)));
            }
        }
예제 #2
0
                          public static void replaceAll(List @this, java.util.function.UnaryOperator unaryoperator)
                          {
                              int s = @this.size();

                              for (int i = 0; i < s; i++)
                              {
                                  @this.set(i, unaryoperator.apply(@this.get(i)));
                              }
                          }
예제 #3
0
 public virtual void ReplaceAll(java.util.function.UnaryOperator unaryoperator)
 {
     java.util.List_Java <V> .ReplaceAll(this, unaryoperator);
 }
예제 #4
0
 public virtual void replaceAll(java.util.function.UnaryOperator unaryoperator)
 {
     java.util.List_0009.replaceAll(this, unaryoperator);
 }