java.util extensions
Functional extensions
Classes related to java.util.Function
and extensions like Predicate
, Consumer
and Supplier
.
-
Morphing methods like
-
TriFunction#ignoreArg[1-4](…)
morphs aTriFunction
to aQuadriFunction
-
TriFunction#withArg[1-3](…)
morphs aTriFunction
to aBiFunction
.
-
-
Utilities for that in
Functions
,Consumers
,Predicates
-
Consistent
equals
andhashCode
, for the utility functions that produce functional implementations. E.g. the above mentionedignoreArg*
andwithArg*
are not simply implemented with lambda’s, but also with equals and hashcode based on the source functional class implementation.