src/share/classes/java/util/function/ObjLongConsumer.java
Print this page
rev 7047 : 8004015: Additional static and instance utils for functional interfaces.
Reviewed-by: briangoetz
*** 28,38 ****
* An operation which accepts an object reference and a long, and returns no
* result. This is the {@code (reference, long)} specialization of
* {@link BiConsumer}. Unlike most other functional interfaces,
* {@code ObjLongConsumer} is expected to operate via side-effects.
*
! * @param <T> Type of reference argument to {@code accept()}.
*
* @see BiConsumer
* @since 1.8
*/
@FunctionalInterface
--- 28,38 ----
* An operation which accepts an object reference and a long, and returns no
* result. This is the {@code (reference, long)} specialization of
* {@link BiConsumer}. Unlike most other functional interfaces,
* {@code ObjLongConsumer} is expected to operate via side-effects.
*
! * @param <T> Type of reference argument to {@code accept()}
*
* @see BiConsumer
* @since 1.8
*/
@FunctionalInterface
*** 42,48 ****
* Accept a set of input values.
*
* @param t an input object
* @param value an input value
*/
! public void accept(T t, long value);
}
--- 42,48 ----
* Accept a set of input values.
*
* @param t an input object
* @param value an input value
*/
! void accept(T t, long value);
}