aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/before/Lambda.java
blob: e7784df53c95413c4746cc942623173a36f5ca14 (plain)
1
2
3
4
5
6
7
8
// version 8:
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;
	};
}