< prev index next >

src/java.base/share/classes/java/util/function/Predicate.java

Print this page

        

*** 20,30 **** * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package java.util.function; import java.util.Objects; /** * Represents a predicate (boolean-valued function) of one argument. --- 20,30 ---- * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package javany.util.function; import java.util.Objects; /** * Represents a predicate (boolean-valued function) of one argument.
*** 35,45 **** * @param <T> the type of the input to the predicate * * @since 1.8 */ @FunctionalInterface ! public interface Predicate<T> { /** * Evaluates this predicate on the given argument. * * @param t the input argument --- 35,45 ---- * @param <T> the type of the input to the predicate * * @since 1.8 */ @FunctionalInterface ! public interface Predicate<any T> { /** * Evaluates this predicate on the given argument. * * @param t the input argument
< prev index next >