APISonar


java.util.ArrayList.addAll

> java > util > ArrayList > addAll
java APIs util APIs ArrayList APIs addAll APIs

Example 1
private final ArrayList<File> foundItems;

    void resort() {
        foundItems.addAll(strongRegexFolders);
        foundItems.addAll(weakRegexFolders);
        foundItems.addAll(strongRegexFiles);
        foundItems.addAll(weakRegexFiles);
    }
Example 2
public ArrayList<T> elements;

  public void addAll(Collection<? extends T> c) {
    elements.addAll(c);
    length = c.size();
  }
Example 3
private ArrayList<T> value = new ArrayList<T>();

    public K addAll(Collection<? extends T> v) {
        if (value.addAll(v)) {
                firePropertyChanged();
        }
        return (K)parent.parent;
    }
Example 4
private ArrayList<T> data = new ArrayList<T>();

    public void addAll(List<T> items) {
        data.addAll(items);
        notifyDataSetChanged();
    }
Example 5
public Collection<Object> getInputs() {
        ArrayList<Object> inputs = new ArrayList<>();

        inputs.addAll(inputItems);
        inputs.addAll(inputItemsWithAlternatives);
        inputs.addAll(inputFluids);

        return inputs;
    }
Example 6
protected ArrayList<V> mergeState(ArrayList<V> a, ArrayList<V> b) {
		a.addAll(b);
		return a;
	}
Example 7
private ArrayList<T> mItems;

	public void addAll(int position, Collection<? extends T> items) {
		mItems.addAll(position, items);
		notifyDataSetChanged();
	}
Example 8
private ArrayList _matchingWildcardMonitorList;

  public void setMatchingWildcardMonitorList(List topicExprList)
  {
    _matchingWildcardMonitorList.addAll(topicExprList);
  }
Example 9
private ArrayList _matchingExactMonitorList;

  public void setMatchingExactMonitorList(List topicExprList)
  {
    _matchingExactMonitorList.addAll(topicExprList);
  }
Example 10
public Collection<Object> values() {
        ArrayList<Object> retValue = new ArrayList<Object>();

        retValue.addAll(primaryTable.values());
        retValue.addAll(secondaryTable.values());
        retValue.addAll(tertiaryTable.values());

        return retValue;
    }
Example 11
private ArrayList myArrayList;

	public boolean addAll(int index, Collection<? extends Object> c) {
		// TODO Auto-generated method stub
		return myArrayList.addAll( index, c);
	}
Example 12
protected ArrayList value;

    protected boolean prepend(ArrayList vals)
    {
        if (vals == null)
        {
            return false;
        }

        value.addAll(0, vals);
        fireOptionChangeEvent();

        return true;
    }
Example 13
protected final ArrayList<T> mData = new ArrayList<T>();

    public void addAll(final Collection<? extends T> collection) {
        mData.addAll(collection);
        notifyDataSetChanged();
    }
Example 14
public static void main(String args[]) {

        ArrayList<Map> all_json_objects = new ArrayList<>();
        all_json_objects.addAll(new collection_writer_header().getObjects());
        all_json_objects.addAll(new collection_writer_measurement_std().getObjects());
        all_json_objects.addAll(new collection_writer_logic_constraints().getObjects());
        all_json_objects.addAll(new collection_writer_gates().getObjects());
        all_json_objects.addAll(new collection_writer_response_functions().getObjects());
        all_json_objects.addAll(new collection_writer_gate_parts().getObjects());
        all_json_objects.addAll(new collection_writer_parts().getObjects());

        String rootPath = collection_writer.getRootPath();
        prettyPrintJSONArray(all_json_objects, rootPath + "/resources/UCF/Eco2C2G2T2.UCF.json", false);
    }
Example 15
public List<V> allValues() {
        ArrayList<V> allValues = new ArrayList<V>();

        for (K k : keys()) {
            allValues.addAll(get(k));
        }

        return allValues;
    }
Example 16
private final ArrayList<Expression<?>> expressions;

    public void addAll(BoundParameters parameters) {
        expressions.addAll(parameters.expressions);
        values.addAll(parameters.values);
    }
Example 17
public List<String> getMergedCommandLineArguments() {
		ArrayList<String> args = new ArrayList<>();
		args.addAll(buildArgsWithPrefix(getTaskManifestDifference().getCommandLineArgumentPropertiesDifferenceDoubleDash(), "--"));
		args.addAll(buildArgsWithPrefix(getTaskManifestDifference().getCommandLineArgumentPropertiesDifferenceSingleDash(), "-"));
		args.addAll(buildArgsWithPrefix(getTaskManifestDifference().getCommandLineArgumentPropertiesDifferenceNoDash(), ""));
		return args;
	}
Example 18
List<K> keyList() {
    ArrayList<K> al = new ArrayList<K>();
    al.addAll(keySet());
    return al;
  }
Example 19
private ArrayList<K> lstKeys = new ArrayList<>();

    public void addAllWithKey(Collection<E> elements, Collection<K> keys) {
        int index = super.size();

        for (K key : keys) {
            map.put(key, index++);
        }

        super.addAll(elements);
        lstKeys.addAll(keys);
    }
Example 20
private ArrayList<T> mOriginalValues;

    public void addAll(@NonNull Collection<? extends T> collection) {
        synchronized (mLock) {
            if (mOriginalValues != null) {
                mOriginalValues.addAll(collection);
            } else {
                mObjects.addAll(collection);
            }
            mObjectsFromResources = false;
        }
        if (mNotifyOnChange) notifyDataSetChanged();
    }
Example 21
private ArrayList _chpxList = new ArrayList();

    public void fill(List filler)
    {
      _chpxList.addAll(filler);
    }
Example 22
public Collection<ScheduledFuture<?>> getScheduledTasks() {
		final ArrayList<ScheduledFuture<?>> scheduledTasks =
			new ArrayList<>(nonPeriodicScheduledTasks.size() + periodicScheduledTasks.size());
		scheduledTasks.addAll(getNonPeriodicScheduledTask());
		scheduledTasks.addAll(getPeriodicScheduledTask());
		return scheduledTasks;
	}
Example 23
public List<String> getManagedObjects() {
        ArrayList<String> managedObjects = new ArrayList<String>();
        if (this.application != null) {
            managedObjects.addAll(application.getManagedObjects());
        }
        if (this.factory != null) {
            managedObjects.addAll(factory.getManagedObjects());
        }
        if (this.lifecycle != null) {
            managedObjects.addAll(lifecycle.getManagedObjects());
        }
        return managedObjects;
    }
Example 24
private ArrayList<View> mTransitioningViews;

    protected void onStartExitTransition(ArrayList<View> exitingViews) {
        mTransitioningViews = new ArrayList<View>();
        if (exitingViews != null) {
            mTransitioningViews.addAll(exitingViews);
        }
        mTransitioningViews.addAll(getSharedElements());
    }
Example 25
public List<Receiver> getReceivers() {

        synchronized (control_mutex) {
            ArrayList<Receiver> recvs = new ArrayList<>();
            recvs.addAll(recvslist);
            return recvs;
        }
    }