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; |
133 |
|
* <td > |
134 |
|
* <td > |
135 |
|
* <td ><tt>double</tt> |
136 |
< |
* <td ><a href="Ops.IntandDoubleToInt.html">Ops.IntandDoubleToInt</a> |
137 |
< |
* <td ><a href="Ops.IntandDoubleToLong.html">Ops.IntandDoubleToLong</a> |
138 |
< |
* <td ><a href="Ops.IntandDoubleToDouble.html">Ops.IntandDoubleToDouble</a> |
139 |
< |
* <td ><a href="Ops.IntandDoubleToObject.html">Ops.IntandDoubleToObject</a> |
136 |
> |
* <td ><a href="Ops.IntAndDoubleToInt.html">Ops.IntAndDoubleToInt</a> |
137 |
> |
* <td ><a href="Ops.IntAndDoubleToLong.html">Ops.IntAndDoubleToLong</a> |
138 |
> |
* <td ><a href="Ops.IntAndDoubleToDouble.html">Ops.IntAndDoubleToDouble</a> |
139 |
> |
* <td ><a href="Ops.IntAndDoubleToObject.html">Ops.IntAndDoubleToObject</a> |
140 |
|
* <td > |
141 |
|
* <tr> |
142 |
|
* <td > |
178 |
|
* <td > |
179 |
|
* <td > |
180 |
|
* <td ><tt>long</tt> |
181 |
< |
* <td ><a href="Ops.LongandLongToInt.html">Ops.LongandLongToInt</a> |
181 |
> |
* <td ><a href="Ops.LongAndLongToInt.html">Ops.LongAndLongToInt</a> |
182 |
|
* <td ><a href="Ops.BinaryLongOp.html">Ops.BinaryLongOp</a> |
183 |
< |
* <td ><a href="Ops.LongandLongToDouble.html">Ops.LongandLongToDouble</a> |
184 |
< |
* <td ><a href="Ops.LongandLongToObject.html">Ops.LongandLongToObject</a> |
183 |
> |
* <td ><a href="Ops.LongAndLongToDouble.html">Ops.LongAndLongToDouble</a> |
184 |
> |
* <td ><a href="Ops.LongAndLongToObject.html">Ops.LongAndLongToObject</a> |
185 |
|
* <td > |
186 |
|
* <tr> |
187 |
|
* <td > |
339 |
|
public static interface BinaryPredicate<A,B> { boolean op(A a, B b);} |
340 |
|
public static interface Procedure<A> { void op(A a);} |
341 |
|
public static interface Generator<R> { R op();} |
342 |
< |
public static interface Reducer<A> extends BinaryOp<A, A, A>{} |
342 |
> |
public static interface Reducer<A> extends BinaryOp<A, A, A> {} |
343 |
|
|
344 |
|
public static interface IntOp { int op(int a);} |
345 |
|
public static interface BinaryIntOp { int op(int a, int b);} |
347 |
|
public static interface IntProcedure { void op(int a);} |
348 |
|
public static interface IntGenerator { int op();} |
349 |
|
public static interface BinaryIntPredicate { boolean op(int a, int b);} |
350 |
< |
public static interface IntReducer extends BinaryIntOp{} |
350 |
> |
public static interface IntReducer extends BinaryIntOp {} |
351 |
|
public static interface IntComparator { int compare(int a, int b);} |
352 |
|
|
353 |
|
public static interface LongOp { long op(long a);} |
356 |
|
public static interface BinaryLongPredicate { boolean op(long a, long b);} |
357 |
|
public static interface LongProcedure { void op(long a);} |
358 |
|
public static interface LongGenerator { long op();} |
359 |
< |
public static interface LongReducer extends BinaryLongOp{} |
359 |
> |
public static interface LongReducer extends BinaryLongOp {} |
360 |
|
public static interface LongComparator { int compare(long a, long b);} |
361 |
|
|
362 |
|
public static interface DoubleOp { double op(double a);} |
365 |
|
public static interface BinaryDoublePredicate { boolean op(double a, double b);} |
366 |
|
public static interface DoubleProcedure { void op(double a);} |
367 |
|
public static interface DoubleGenerator { double op();} |
368 |
< |
public static interface DoubleReducer extends BinaryDoubleOp{} |
368 |
> |
public static interface DoubleReducer extends BinaryDoubleOp {} |
369 |
|
public static interface DoubleComparator { int compare(double a, double b);} |
370 |
|
|
371 |
|
public static interface Action { void op();} |