/** * Create a Duck typed functor. Wrapped class should have a method * * map(F f) * * Where F is a Functional Interface of any type that takes a single parameter and returns * a result. * * @param o functor to wrap * @return Duck typed functor */ public static <T> Functor<T> asFunctor(Object o){ return AsFunctor.asFunctor(o); } /**