jdk/src/java.base/share/classes/java/util/function/package-info.java
changeset 43005 93a6492387c4
parent 25859 3317bb8137f4
equal deleted inserted replaced
43004:54896b192cc7 43005:93a6492387c4
    72  * <ul>
    72  * <ul>
    73  *     <li>There are several basic function shapes, including
    73  *     <li>There are several basic function shapes, including
    74  *     {@link java.util.function.Function} (unary function from {@code T} to {@code R}),
    74  *     {@link java.util.function.Function} (unary function from {@code T} to {@code R}),
    75  *     {@link java.util.function.Consumer} (unary function from {@code T} to {@code void}),
    75  *     {@link java.util.function.Consumer} (unary function from {@code T} to {@code void}),
    76  *     {@link java.util.function.Predicate} (unary function from {@code T} to {@code boolean}),
    76  *     {@link java.util.function.Predicate} (unary function from {@code T} to {@code boolean}),
    77  *     and {@link java.util.function.Supplier} (nilary function to {@code R}).
    77  *     and {@link java.util.function.Supplier} (nullary function to {@code R}).
    78  *     </li>
    78  *     </li>
    79  *
    79  *
    80  *     <li>Function shapes have a natural arity based on how they are most
    80  *     <li>Function shapes have a natural arity based on how they are most
    81  *     commonly used.  The basic shapes can be modified by an arity prefix to
    81  *     commonly used.  The basic shapes can be modified by an arity prefix to
    82  *     indicate a different arity, such as
    82  *     indicate a different arity, such as