Class Reducers
- java.lang.Object
-
- com.inductiveautomation.ignition.common.functional.Reducers
-
public final class Reducers extends java.lang.ObjectUtil class which contains helpful Reducers
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <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 Detail
-
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
-
-