LangUtils { public static <T> List<T> repeat(T element, int number) { List<T> list = new ArrayList<T>(); for (int i = 0; i < number; i++) { list.add(element); } return list; }  static List<T> repeat(T element, int number); static String join(List<String> list, String separator); static String enquoteAndJoin(Iterable<String> list,
            String separator, String prefix, String suffix); static String enquoteAndJoin(String[] list,
            String separator, String prefix, String suffix);  }
@Test public void repeat() { assertEquals(asList("A","A","A"), LangUtils.repeat("A", 3)); }