class 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;
    }

}