função interna java
Function<String, String> trible = s -> s+s+s;
System.out.println(trible.apply("X")); // prints XXX
Yordi
Function<String, String> trible = s -> s+s+s;
System.out.println(trible.apply("X")); // prints XXX