Lines Matching defs:list
25 * function that takes an ArrayList of items and returns a list of the same items collapsed into
51 * Collapses a list of Collapsible items into a list of collapsed items. Items are collapsed
55 * @param list List of Objects of type <T extends Collapsible<T>> to be collapsed.
57 public static <T extends Collapsible<T>> void collapseList(List<T> list) {
59 int listSize = list.size();
66 T iItem = list.get(i);
69 T jItem = list.get(j);
73 list.set(j, null);
76 list.set(i, null);
85 Iterator<T> itr = list.iterator();