Class Reducers
java.lang.Object
com.inductiveautomation.ignition.common.functional.Reducers
Util class which contains helpful Reducers
- 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TreduceLeft(T left, T right) Return the argument to the leftstatic <T> TreduceRight(T left, T right) Return the argument to the right 
- 
Method Details
- 
reduceLeft
public static <T> T reduceLeft(T left, T right) Return the argument to the left- Type Parameters:
 T- the type of the arguments- Parameters:
 left- the argument to the leftright- the argument to the right- Returns:
 - the argument to the left
 
 - 
reduceRight
public static <T> T reduceRight(T left, T right) Return the argument to the right- Type Parameters:
 T- the type of the arguments- Parameters:
 left- the argument to the leftright- the argument to the right- Returns:
 - the argument to the right
 
 
 -