void () { Function<String, Integer> lookup = Integer::parseInt; UnaryOperator<String> selector = String::trim; BinaryOperator<Integer> min = Math::min; String foo = "xyz"; int res = min.andThen(Math::abs).apply(-1, -2); }