1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
package extra166y; |
86 |
|
*/ |
87 |
|
public int anyIndex() { |
88 |
|
if (!hasFilter()) |
89 |
< |
return (origin < fence)? origin : -1; |
89 |
> |
return (origin < fence) ? origin : -1; |
90 |
|
AtomicInteger result = new AtomicInteger(-1); |
91 |
|
PAS.FJSelectAny f = new PAS.FJSelectAny |
92 |
|
(this, origin, fence, null, result); |