Files
2025-02-05 04:43:28 +00:00

4 lines
173 B
Plaintext

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