public interface BuildableFunction<T,R>
extends java.util.function.Function<T,R>
Modifier and Type | Method and Description |
---|---|
static <T> java.util.function.Function<T,T> |
identity()
Returns a function that simply returns its argument.
|
default BuildablePredicate<T> |
is(R test)
Returns a predicate that tests the value generated by
this for
equality with the supplied constant. |
default BuildablePredicate<T> is(R test)
this
for
equality with the supplied constant.
Equality is defined by the behavior of the
Type.equals(java.lang.Object, java.lang.Object)
method.
test
- value to test against