Searched refs:asCollector (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandle.java | 42 public MethodHandle asCollector(Class<?> arrayType, int arrayLength) { return null; } in asCollector() method in MethodHandle
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 1330 trailingRef.asCollector(int[].class, 1); in testAsCollector() 1337 trailingRef.asCollector(Object[].class, 1); in testAsCollector() 1343 MethodHandle collector = trailingRef.asCollector(String[].class, 2); in testAsCollector() 1365 assertEquals(44, (int) target.asCollector(boolean[].class, 2).invoke("a", true, false)); in testAsCollector() 1369 assertEquals(45, (int) target.asCollector(byte[].class, 2).invoke("a", (byte) 1, (byte) 2)); in testAsCollector() 1373 assertEquals(46, (int) target.asCollector(char[].class, 2).invoke("a", 'a', 'b')); in testAsCollector() 1377 … assertEquals(47, (int) target.asCollector(short[].class, 2).invoke("a", (short) 3, (short) 4)); in testAsCollector() 1381 assertEquals(48, (int) target.asCollector(int[].class, 2).invoke("a", 42, 43)); in testAsCollector() 1385 assertEquals(49, (int) target.asCollector(long[].class, 2).invoke("a", 100, 99)); in testAsCollector() 1389 assertEquals(50, (int) target.asCollector(float[].class, 2).invoke("a", 8.9f, 9.1f)); in testAsCollector() [all …]
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandle.java | 1119 public MethodHandle asCollector(Class<?> arrayType, int arrayLength) { in asCollector() method in MethodHandle
|
/libcore/api/ |
D | current.txt | 4250 method public java.lang.invoke.MethodHandle asCollector(Class<?>, int);
|