Home | History | Annotate | Download | only in collection

Lines Matching defs:ArraySet

32  * ArraySet is a generic set data structure that is designed to be more memory efficient than a
50 public final class ArraySet<E> implements Collection<E>, Set<E> {
52 private static final String TAG = "ArraySet";
57 * The minimum amount by which the capacity of a ArraySet will increase.
162 synchronized (ArraySet.class) {
178 synchronized (ArraySet.class) {
202 synchronized (ArraySet.class) {
218 synchronized (ArraySet.class) {
237 * Create a new empty ArraySet. The default capacity of an array map is 0, and
240 public ArraySet() {
245 * Create a new ArraySet with a given initial capacity.
247 public ArraySet(int capacity) {
258 * Create a new ArraySet with the mappings from the given ArraySet.
260 public ArraySet(@Nullable ArraySet<E> set) {
268 * Create a new ArraySet with the mappings from the given {@link Collection}.
270 public ArraySet(@Nullable Collection<E> set) {
438 public void addAll(@NonNull ArraySet<? extends E> array) {
530 public boolean removeAll(ArraySet<? extends E> array) {
537 // Note: ArraySet does not make thread-safety guarantees. So instead of OR-ing together all