@Test public void testAsList() throws Exception { String[] theData = new String[] {"hallo"}; List<String> theList = ArrayUtils.asList(theData); assertEquals(1, theList.size()); assertEquals("hallo", theList.get(0)); }
public static <T> List<T> asList(T[] aArray) { return new ArrayList<>(Arrays.asList(aArray)); }
ArrayUtils { public static <T> List<T> asList(T[] aArray) { return new ArrayList<>(Arrays.asList(aArray)); } }
ArrayUtils { public static <T> List<T> asList(T[] aArray) { return new ArrayList<>(Arrays.asList(aArray)); }  }
ArrayUtils { public static <T> List<T> asList(T[] aArray) { return new ArrayList<>(Arrays.asList(aArray)); }  static List<T> asList(T[] aArray); }
ArrayUtils { public static <T> List<T> asList(T[] aArray) { return new ArrayList<>(Arrays.asList(aArray)); }  static List<T> asList(T[] aArray);  }