src/share/classes/java/util/function/IntSupplier.java

Print this page
rev 6273 : 8004561: Additional functional interfaces, extension methods and name changes
Summary: Adds additional functional interfaces for primitives and "Bi" (two operand). Adds utility extension methods. Includes some name changes for existing functional interfaces per EG decisions.
Reviewed-by: briangoetz

*** 25,36 **** package java.util.function; /** * A supplier of {@code int} values. * ! * <p/>This is the primitive type specialization of {@link Supplier} for ! * {@code int} and also may be used as a {@code Supplier<Integer>}. * * @since 1.8 */ public interface IntSupplier { --- 25,36 ---- package java.util.function; /** * A supplier of {@code int} values. * ! * <p>This is the primitive type specialization of {@link Supplier} for ! * {@code int}. * * @since 1.8 */ public interface IntSupplier {