5 |
|
*/ |
6 |
|
|
7 |
|
package extra166y; |
8 |
+ |
|
9 |
|
import jsr166y.*; |
10 |
|
import static extra166y.Ops.*; |
11 |
|
import java.util.*; |
88 |
|
|
89 |
|
/** |
90 |
|
* Replaces elements with results of applying |
91 |
< |
* <tt>op(thisElement, otherElement)</tt>. |
91 |
> |
* {@code op(thisElement, otherElement)}. |
92 |
|
* @param other the other array |
93 |
|
* @param combiner the combiner |
94 |
|
* @return this (to simplify use in expressions) |
104 |
|
|
105 |
|
/** |
106 |
|
* Replaces elements with results of applying |
107 |
< |
* <tt>op(thisElement, otherElement)</tt>. |
107 |
> |
* {@code op(thisElement, otherElement)}. |
108 |
|
* @param other the other array |
109 |
|
* @param combiner the combiner |
110 |
|
* @return this (to simplify use in expressions) |
120 |
|
/** |
121 |
|
* Returns a new ParallelArray containing only non-null unique |
122 |
|
* elements (that is, without any duplicates). This method |
123 |
< |
* uses each element's <tt>equals</tt> method to test for |
123 |
> |
* uses each element's {@code equals} method to test for |
124 |
|
* duplication. |
125 |
|
* @return the new ParallelArray |
126 |
|
*/ |