List of utility methods to do ArrayList Create
ArrayList | createArrayList(T... objects) Initializes an ArrayList with objects. ArrayList<T> arrayList = new ArrayList<T>(); Collections.addAll(arrayList, objects); return arrayList; |
List | createArrayListFilledIncrement(int count) create Array List Filled Increment List<Integer> fieldIdList = new ArrayList<Integer>(count); for (int i = 0; i < count; i++) { fieldIdList.add(i); return fieldIdList; |
ArrayList | createArrayListOfArrayList(int size) create Array List Of Array List ArrayList<ArrayList<E>> arrayList = new ArrayList<ArrayList<E>>(size); for (int i = 0; i < size; i++) { arrayList.add(new ArrayList<E>()); return arrayList; |
ArrayList | getArrayList() get Array List return new ArrayList(); |
ArrayList | getArrayList() Return a basic ArrayList return new ArrayList<T>(0); |
List | getArrayList() get Array List return new ArrayList<E>(); |
List | getArrayList(final Object o, final Class Cast an object into a typed ArrayList . final List<T> list = new ArrayList<>(); list(list, o, clazz); return list; |
List | getArrayList(List get Array List if (list == null) return new ArrayList<L>(); return list; |
ArrayList | getArrayList(Map map, Object obj) get Array List ArrayList list = (ArrayList) map.get(obj); if (list == null) { list = new ArrayList(); map.put(obj, list); return list; |
ArrayList | getArrayList(String[] args) get Array List if (args == null) { return null; ArrayList result = new ArrayList(args.length); for (int i = 0; i < args.length; i++) { result.add(args[i]); return result; ... |