Type a static method reference for parseInt
Type a static method reference for parseInt
Answer
Function<String, Integer> parse = Integer::parseInt;
Integer.parseInt is a static method: String in, int (boxed to Integer) out. The reference fits Function<String, Integer> exactly.