コード例 #1
0
ファイル: ParallelArray.java プロジェクト: qxo/GPars
 /**
  * Replaces elements with results of applying {@code op(thisElement, otherElement)}.
  *
  * @param other the other array
  * @param combiner the combiner
  * @return this (to simplify use in expressions)
  */
 public <V, W> ParallelArray<T> replaceWithMapping(
     BinaryOp<? super T, ? super V, ? extends T> combiner, ParallelArrayWithMapping<W, V> other) {
   super.replaceWithMapping(combiner, other);
   return this;
 }
コード例 #2
0
ファイル: ParallelArray.java プロジェクト: qxo/GPars
 /**
  * Replaces elements with results of applying {@code op(thisElement, otherElement)}.
  *
  * @param other the other array
  * @param combiner the combiner
  * @return this (to simplify use in expressions)
  */
 public ParallelArray<T> replaceWithMapping(BinaryOp<T, T, T> combiner, T[] other) {
   super.replaceWithMapping(combiner, other);
   return this;
 }
コード例 #3
0
ファイル: ParallelArray.java プロジェクト: qxo/GPars
 /**
  * Replaces elements with the results of applying the given transform to their current values.
  *
  * @param op the op
  * @return this (to simplify use in expressions)
  */
 public ParallelArray<T> replaceWithMapping(Op<? super T, ? extends T> op) {
   super.replaceWithMapping(op);
   return this;
 }