21 April 2010 map, foldr & foldl higher-order functions in Java Here are my implementations of some higher-order functions in java, foldl , foldr , map and others. Functionals.java package org.adrianwalker.functional; import java.util.ArrayList; import java.util.Collections; import java.util.List; public final class Functionals { private static final String EMPTY_STRING = ""; private static