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