7 package com.google.appinventor.components.runtime.collect;
9 import java.util.ArrayList;
10 import java.util.Collections;
31 return new ArrayList<E>();
53 int capacity = (elements.length * 110) / 100 + 5;
54 ArrayList<E> list =
new ArrayList<E>(capacity);
55 Collections.addAll(list, elements);