We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ee383 commit 108f631Copy full SHA for 108f631
src/main/java/com/jnape/palatable/lambda/functions/builtin/fn2/Eq.java
@@ -1,7 +1,7 @@
1
package com.jnape.palatable.lambda.functions.builtin.fn2;
2
3
-import com.jnape.palatable.lambda.functions.Fn1;
4
import com.jnape.palatable.lambda.functions.specialized.BiPredicate;
+import com.jnape.palatable.lambda.functions.specialized.Predicate;
5
6
/**
7
* Type-safe equality in function form; uses {@link Object#equals}, not <code>==</code>.
@@ -22,7 +22,7 @@ public static <A> Eq<A> eq() {
22
return new Eq<>();
23
}
24
25
- public static <A> Fn1<A, Boolean> eq(A x) {
+ public static <A> Predicate<A> eq(A x) {
26
return Eq.<A>eq().apply(x);
27
28
0 commit comments