Class Reducers
java.lang.Object
com.inductiveautomation.ignition.common.functional.Reducers
Util class which contains helpful Reducers
- 
Method SummaryModifier 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- 
reduceLeftpublic 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 left
- right- the argument to the right
- Returns:
- the argument to the left
 
- 
reduceRightpublic 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 left
- right- the argument to the right
- Returns:
- the argument to the right
 
 
-