Package de.xima.fc.utils
Class XFunctionalUtils
java.lang.Object
de.xima.fc.utils.XFunctionalUtils
Utilities related to 
java.util.function- Since:
 - 8.0.4
 - Author:
 - XIMA MEDIA GmbH
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic <R> BinaryOperator<R>A binary operator that returns its first argument, useful e.g. for map merge functions.static <R> BinaryOperator<R>A binary operator that returns its second argument, useful e.g. for map merge functions. 
- 
Method Details
- 
takeFirst
A binary operator that returns its first argument, useful e.g. for map merge functions.- Type Parameters:
 R- Type of the items.- Returns:
 - A binary operator returning its first argument and discarding its second argument.
 
 - 
takeSecond
A binary operator that returns its second argument, useful e.g. for map merge functions.- Type Parameters:
 R- Type of the items.- Returns:
 - A binary operator returning its second argument and discarding its first argument.
 
 
 -