Lines Matching defs:al
58 ArrayList al = c.newInstance();
59 test(al);
62 private static void test(ArrayList al) throws Exception {
63 test(al, true);
64 al.clear();
65 Method m = al.getClass().getMethod("asList");
66 m.invoke(al);
67 test(al, false);
70 private static void test(ArrayList al, boolean allowsBogus) throws Exception {
75 al.add("yo");
78 al.add(0, "yo");
81 al.addAll(Arrays.asList("foo", "bar"));
84 al.addAll(0, Arrays.asList("foo", "bar"));
87 al.set(0, "foo");