List of utility methods to do ArrayList Create
List | getArrayListForArray(Object[] rowData) get Array List For Array ArrayList<Object> res = new ArrayList<Object>(); for (int n = 0; n < rowData.length; n++) { res.add(rowData[n]); return res; |
ArrayList | getArrayListFromInt(int number) get Array List From Int ArrayList<Integer> list = new ArrayList<>(); int length = stringSize(number); for (int i = length - 1; i >= 0; i--) { list.add(0, number % 10); number /= 10; return list; |
ArrayList | getArrayListFromString(String wordSequence, String separator) get Array List From String ArrayList<String> array = new ArrayList<String>(); if (wordSequence != null) { StringTokenizer toks = new StringTokenizer(wordSequence, separator); while (toks.hasMoreTokens()) array.add(toks.nextToken()); return array; |
ArrayList | newArrayList() new ArrayList return new ArrayList<T>(); |
ArrayList | newArrayList() Type-safe initializer. return new ArrayList<T>(); |
ArrayList | newArrayList() Convenience ArrayList maker. return new ArrayList<T>(); |
List | newArrayList() new Array List return new ArrayList<E>(); |
ArrayList | newArrayList() new Array List ArrayList<T> newArrayList = new ArrayList<T>(); return newArrayList; |
ArrayList | newArrayList() new Array List return new ArrayList<T>(); |
ArrayList | newArrayList() new Array List return new ArrayList<T>(); |