Files
openide/java/java-impl/resources/intentionDescriptions/ComposeFunctionChainAction/after.java.template
T
2025-02-05 04:43:28 +00:00

4 lines
162 B
Plaintext

Function<String, String> filter = String::trim;
Function<String, Integer> converter = Integer::parseInt;
int result = filter.andThen(converter).apply(" 123 ");