--- jsr166/src/extra166y/CommonOps.java 2011/03/15 19:47:02 1.4
+++ jsr166/src/extra166y/CommonOps.java 2013/01/16 00:51:11 1.6
@@ -100,7 +100,7 @@ public class CommonOps {
/**
* Returns a reducer returning maximum of two values, or
- * null if both arguments are null, and that casts
+ * {@code null} if both arguments are null, and that casts
* its arguments as Comparable on each comparison, throwing
* ClassCastException on failure.
*/
@@ -118,7 +118,7 @@ public class CommonOps {
/**
* Returns a reducer returning minimum of two values, or
- * null if both arguments are null, and that casts
+ * {@code null} if both arguments are null, and that casts
* its arguments as Comparable on each comparison, throwing
* ClassCastException on failure.
*/
@@ -521,7 +521,7 @@ public class CommonOps {
*/
public static DoubleOp compoundOp
(final DoubleToObject extends T> first,
- final ObjectToDouble super T> second) {
+ final ObjectToDouble super T> second) {
return new DoubleOp() {
public final double op(double t) { return second.op(first.op(t)); }
};
@@ -533,7 +533,7 @@ public class CommonOps {
*/
public static LongToDouble compoundOp
(final LongToObject extends T> first,
- final ObjectToDouble super T> second) {
+ final ObjectToDouble super T> second) {
return new LongToDouble() {
public final double op(long t) { return second.op(first.op(t)); }
};
@@ -545,7 +545,7 @@ public class CommonOps {
*/
public static DoubleToLong compoundOp
(final DoubleToObject extends T> first,
- final ObjectToLong super T> second) {
+ final ObjectToLong super T> second) {
return new DoubleToLong() {
public final long op(double t) { return second.op(first.op(t)); }
};
@@ -557,7 +557,7 @@ public class CommonOps {
*/
public static LongOp compoundOp
(final LongToObject extends T> first,
- final ObjectToLong super T> second) {
+ final ObjectToLong super T> second) {
return new LongOp() {
public final long op(long t) { return second.op(first.op(t)); }
};
@@ -711,7 +711,7 @@ public class CommonOps {
/**
* Returns a predicate evaluating to true if its argument is non-null
*/
- public static Predicate