Searched refs:arrayElementGetter (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 63 public static java.lang.invoke.MethodHandle arrayElementGetter(java.lang.Class<?> arrayClass) in arrayElementGetter() method in MethodHandles 68 public static byte arrayElementGetter(byte[] array, int i) { in arrayElementGetter() method in MethodHandles 72 public static boolean arrayElementGetter(boolean[] array, int i) { in arrayElementGetter() method in MethodHandles 76 public static char arrayElementGetter(char[] array, int i) { in arrayElementGetter() method in MethodHandles 80 public static short arrayElementGetter(short[] array, int i) { in arrayElementGetter() method in MethodHandles 84 public static int arrayElementGetter(int[] array, int i) { in arrayElementGetter() method in MethodHandles 88 public static long arrayElementGetter(long[] array, int i) { in arrayElementGetter() method in MethodHandles 92 public static float arrayElementGetter(float[] array, int i) { in arrayElementGetter() method in MethodHandles 96 public static double arrayElementGetter(double[] array, int i) { in arrayElementGetter() method in MethodHandles
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 2030 MethodHandle arrayElementGetter(Class<?> arrayClass) throws IllegalArgumentException { in arrayElementGetter() method in MethodHandles 2046 /** @hide */ public static byte arrayElementGetter(byte[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles 2047 … /** @hide */ public static boolean arrayElementGetter(boolean[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles 2048 /** @hide */ public static char arrayElementGetter(char[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles 2049 /** @hide */ public static short arrayElementGetter(short[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles 2050 /** @hide */ public static int arrayElementGetter(int[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles 2051 /** @hide */ public static long arrayElementGetter(long[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles 2052 /** @hide */ public static float arrayElementGetter(float[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles 2053 /** @hide */ public static double arrayElementGetter(double[] array, int i) { return array[i]; } in arrayElementGetter() method in MethodHandles
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 94 …MethodHandle arrayElementGetter(Class<?> arrayClass) throws IllegalArgumentException { return null… in arrayElementGetter() method in MethodHandles
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 293 MethodHandle getter = MethodHandles.arrayElementGetter(int[].class); in testArrayElementGetter() 315 getter = MethodHandles.arrayElementGetter(long[].class); in testArrayElementGetter() 323 getter = MethodHandles.arrayElementGetter(short[].class); in testArrayElementGetter() 331 getter = MethodHandles.arrayElementGetter(char[].class); in testArrayElementGetter() 339 getter = MethodHandles.arrayElementGetter(byte[].class); in testArrayElementGetter() 347 getter = MethodHandles.arrayElementGetter(boolean[].class); in testArrayElementGetter() 355 getter = MethodHandles.arrayElementGetter(float[].class); in testArrayElementGetter() 363 getter = MethodHandles.arrayElementGetter(double[].class); in testArrayElementGetter() 371 getter = MethodHandles.arrayElementGetter(String[].class); in testArrayElementGetter() 1786 MethodHandle getter = MethodHandles.arrayElementGetter(int[].class); in testReferenceArrayGetterMultiThreaded()
|