jdk/src/share/classes/java/util/function/IntBinaryOperator.java
changeset 16011 890a7ed97f6c
parent 15647 314007859004
child 17695 032254f2467b
--- a/jdk/src/share/classes/java/util/function/IntBinaryOperator.java	Tue Feb 19 10:34:26 2013 -0800
+++ b/jdk/src/share/classes/java/util/function/IntBinaryOperator.java	Tue Feb 19 11:56:49 2013 -0800
@@ -26,7 +26,10 @@
 
 /**
  * An operation on two {@code int} operands yielding an {@code int} result.
+ * This is the primitive type specialization of {@link BinaryOperator} for
+ * {@code int}.
  *
+ * @see BinaryOperator
  * @since 1.8
  */
 @FunctionalInterface
@@ -41,5 +44,5 @@
      * @param right  the right operand value
      * @return the result of the operation
      */
-    public int operateAsInt(int left, int right);
+    public int applyAsInt(int left, int right);
 }