Appends a range of values to the end of this array.

@param items
The values to append.
@return A value indicating if the array has changed.
179995
public boolean addAll(FloatArray items) {
    ensureCapacity(size + items.size);
    for (int i = 0; i < items.size; i++) {
      elements[size++] = items.elements[i];
    }
    return items.size > 0;
  }
730224
@SafeVarargs
    public static <T> PromisesArray<T> of(T... items) {
        ArrayList<Promise<T>> res = new ArrayList<>();
        for (T t : items) {
            res.add(Promise.success(t));
        }
        final Promise[] promises = res.toArray(new Promise[res.size()]);
        return new PromisesArray<>((PromiseFunc<Promise<T>[]>) executor -> {
            executor.result(promises);
        });
    }
533662
public static <T> boolean addAll(Collection<T> self, Iterable<T> items) {
        boolean changed = false;
        for (T next : items) {
            if (self.add(next)) changed = true;
        }
        return changed;
    }
802178
public ModelAdapter<Model, Item> setNewList(List<Model> items) {
        return setNewList(items, false);
    }
280309
public static <T> Matcher<Iterable<T>> hasItems(Iterable<T> items) {
        List<Matcher<? super Iterable<T>>> all = new LinkedList<Matcher<? super Iterable<T>>>();
        for (T element : items) {
            all.add(hasItem(element));
        }

        return allOf(all);
    }
1320899
public static String wrapInTableRow(final List<String> items) {
        final StringBuilder output = new StringBuilder("<row>");
        for (final String entry : items) {
            output.append("<entry>" + entry + "</entry>");
        }

        output.append("</row>");
        return output.toString();
    }
1199053
public FastItemAdapter<Item> add(int position, List<Item> items) {
        getItemAdapter().add(position, items);
        return this;
    }
1067764
public boolean addAll(ShortArray items) {
    ensureCapacity(size + items.size);
    for (int i = 0; i < items.size; i++) {
      elements[size++] = items.elements[i];
    }
    return items.size > 0;
  }
885576
public static void dump(Appendable appendable, Iterable<?> items) {
		try {
			for(Object item: items) {
				appendable.append(String.valueOf(item));
				appendable.append("\n");
			}
		} catch (IOException e) {
			throw new RuntimeException("An error occured while appending", e);
		}
	}
1252656
public static <Item extends IItem> void addAllSubItems(Item item, List<Item> items) {
        if (item instanceof IExpandable && !((IExpandable) item).isExpanded() && ((IExpandable) item).getSubItems() != null) {
            List<Item> subItems = (List<Item>) ((IExpandable<Item, ?>) item).getSubItems();
            Item subItem;
            for (int i = 0, size = subItems.size(); i < size; i++) {
                subItem = subItems.get(i);
                items.add(subItem);
                addAllSubItems(subItem, items);
            }
        }
    }
1210524
int addAll(T... items) {
        int positionOfInsert = mObjects.size();
        Collections.addAll(mObjects, items);
        return positionOfInsert;
    }
1040497
public JQMList addItems(Collection<String> items) {
        for (String item : items)
            addItem(item);
        return this;
    }
1014039
protected void append0 (T item, boolean notify)
    {
        if (_count == _size) {
            makeMoreRoom();
        }
        _items[_end] = item;
        _end = (_end + 1) % _size;
        _count++;

        if (notify) {
            notify();
        }
    }
47022
public void setItems(java.util.Collection<ApiKey> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<ApiKey>(items);
    }
997431
@Override
    public void save(Collection<T> items) {
        for (T item : items) {
            save(item);
        }
    }
519514
public static ValueIndex valueIndex(@NonNull ValueIndexItem... items) {
        if (items == null) {
            throw new IllegalArgumentException("items cannot be null.");
        }
        return new ValueIndex(items);
    }
678217
public DrawerView addItems(List<DrawerItem> items) {
        mAdapter.setNotifyOnChange(false);
        for (DrawerItem item : items) {
            if (item.getId() <= 0) {
                item.setId(System.nanoTime() * 100 + Math.round(Math.random() * 100));
            }
            for (DrawerItem oldItem : mAdapter.getItems()) {
                if (oldItem.getId() == item.getId()) {
                    mAdapter.remove(oldItem);
                    break;
                }
            }

            item.attachTo(mAdapter);
            mAdapter.add(item);
        }
        mAdapter.setNotifyOnChange(true);
        mAdapter.notifyDataSetChanged();
        updateList();
        return this;
    }