Searched refs:tableSwitch (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/lang/invoke/MethodHandles/ |
D | TestTableSwitch.java | 154 MethodHandle mhSwitch = MethodHandles.tableSwitch( in testNonVoidHandles() 179 MethodHandle mhSwitch = MethodHandles.tableSwitch( in testVoidHandles() 194 MethodHandles.tableSwitch(null, simpleTestCase("test")); in testNullDefaultHandle() 200 MethodHandles.tableSwitch(simpleTestCase("default"), cases); in testNullCases() 205 MethodHandles.tableSwitch(simpleTestCase("default"), simpleTestCase("case"), null); in testNullCase() 211 MethodHandles.tableSwitch(simpleTestCase("default")); in testNotEnoughCases() 218 MethodHandles.tableSwitch(empty, empty, empty); in testNotEnoughParameters() 225 MethodHandles.tableSwitch(empty, empty, empty); in testNoLeadingIntParameter() 233 MethodHandles.tableSwitch(simpleTestCase("default"), simpleTestCase("case"), wrongType); in testWrongCaseType()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 5708 public static MethodHandle tableSwitch(MethodHandle fallback, MethodHandle... targets) { in tableSwitch() method
|
/libcore/api/ |
D | current.txt | 4713 …method public static java.lang.invoke.MethodHandle tableSwitch(java.lang.invoke.MethodHandle, java…
|