| Modifier and Type | Field and Description |
|---|---|
private Predicate<T> |
predicate |
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
private |
PredicateFunction(Predicate<T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
apply(T t) |
boolean |
equals(java.lang.Object obj)
May return
true if object is a Function that behaves identically
to this function. |
int |
hashCode() |
java.lang.String |
toString() |
private static final long serialVersionUID
public java.lang.Boolean apply(T t)
apply in interface java.util.function.Function<T,java.lang.Boolean>public boolean equals(@CheckForNull
java.lang.Object obj)
Functiontrue if object is a Function that behaves identically
to this function.
Warning: do not depend on the behavior of this method.
Historically, Function instances in this library have implemented this method to
recognize certain cases where distinct Function instances would in fact behave
identically. However, as code migrates to java.util.function, that behavior will
disappear. It is best not to depend on it.
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object