equal
deleted
inserted
replaced
24 */ |
24 */ |
25 package java.util.function; |
25 package java.util.function; |
26 |
26 |
27 /** |
27 /** |
28 * An operation on two {@code long} operands yielding a {@code long} result. |
28 * An operation on two {@code long} operands yielding a {@code long} result. |
|
29 * This is the primitive type specialization of {@link BinaryOperator} for |
|
30 * {@code long}. |
29 * |
31 * |
|
32 * @see BinaryOperator |
30 * @since 1.8 |
33 * @since 1.8 |
31 */ |
34 */ |
32 @FunctionalInterface |
35 @FunctionalInterface |
33 public interface LongBinaryOperator { |
36 public interface LongBinaryOperator { |
34 |
37 |
39 * |
42 * |
40 * @param left the left operand value |
43 * @param left the left operand value |
41 * @param right the right operand value |
44 * @param right the right operand value |
42 * @return the result of the operation |
45 * @return the result of the operation |
43 */ |
46 */ |
44 public long operateAsLong(long left, long right); |
47 public long applyAsLong(long left, long right); |
45 } |
48 } |