Ejemplo n.º 1
0
 static <T> T unwrapOtherMonadTypes(Comprehender<T> comp, Object apply) {
   if (apply instanceof Collection) {
     return (T) ((Collection) apply).stream();
   }
   return Comprehender.unwrapOtherMonadTypes(comp, apply);
 }