blob: 54d7caa02a1a6be3049b28b47f6904b03ce3d360 (
plain)
1
2
3
4
5
6
7
|
public class Lambda {
Runnable r = () -> System.out.println();
java.util.Comparator<Integer> c1 = (a, b) -> a - b;
java.util.Comparator<Integer> c2 = (Integer a, Integer b) -> {
return a - b;
};
}
|