Class Reducers


  • public final class Reducers
    extends java.lang.Object
    Util class which contains helpful Reducers
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T reduceRight​(T left, T right)
      Return the argument to the right
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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