java.lang.Object
com.inductiveautomation.ignition.common.functional.Reducers

public final class Reducers extends Object
Util class which contains helpful Reducers
  • 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 left
      right - 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 left
      right - the argument to the right
      Returns:
      the argument to the right