< prev index next >
src/java.base/share/classes/java/util/function/Predicate.java
Print this page
@@ -20,11 +20,11 @@
*
* 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;
+package javany.util.function;
import java.util.Objects;
/**
* Represents a predicate (boolean-valued function) of one argument.
@@ -35,11 +35,11 @@
* @param <T> the type of the input to the predicate
*
* @since 1.8
*/
@FunctionalInterface
-public interface Predicate<T> {
+public interface Predicate<any T> {
/**
* Evaluates this predicate on the given argument.
*
* @param t the input argument
< prev index next >