Searched refs:wahoo (Results 1 - 3 of 3) sorted by relevance

/openjdk9/langtools/test/tools/javac/lambda/methodReference/
H A DMethodRef2.java48 String wahoo() { method in class:MethodRef2
49 return "wahoo";
52 String wahoo(int x) { method in class:MethodRef2
53 return "wahoo " + x;
63 a = new MethodRef2()::wahoo; //instance reference to wahoo()
64 assertTrue( a.m().equals("wahoo") );
66 B b = mr::wahoo; //instance reference to wahoo(int)
67 assertTrue( b.m(4).equals("wahoo
[all...]
H A DMethodRef7.java76 String wahoo() { method in class:MethodRef7
77 return "wahoo";
80 String wahoo(int x) { method in class:MethodRef7
81 return "wahoo " + x;
92 B b = mr::wahoo; //instance reference to wahoo()
93 assertTrue(b.m().equals("wahoo"));
94 B2 b2 = mr::wahoo; //instance reference to wahoo(int x)
95 assertTrue(b2.m(1).equals("wahoo
[all...]
H A DMethodRef3.java48 String wahoo(String s) { method in class:MethodRef3
49 return "wahoo " + s;
57 B b = MethodRef3::wahoo; //unbound reference to wahoo()
58 assertTrue( b.m(mr, "hi").equals("wahoo hi") );

Completed in 67 milliseconds