Lines Matching refs:elements

70    * constraint. Any operations that add new elements to the collection will
72 * existing elements satisfy the constraint.
77 * @param constraint the constraint that validates added elements
102 @Override public boolean addAll(Collection<? extends E> elements) {
103 return delegate.addAll(checkElements(elements, constraint));
109 * constraint. Any operations that add new elements to the set will call the
111 * elements satisfy the constraint.
116 * @param constraint the constraint that validates added elements
140 @Override public boolean addAll(Collection<? extends E> elements) {
141 return delegate.addAll(checkElements(elements, constraint));
147 * constraint. Any operations that add new elements to the sorted set will
149 * existing elements satisfy the constraint.
154 * @param constraint the constraint that validates added elements
189 @Override public boolean addAll(Collection<? extends E> elements) {
190 return delegate.addAll(checkElements(elements, constraint));
196 * constraint. Any operations that add new elements to the list will call the
198 * elements satisfy the constraint.
204 * @param constraint the constraint that validates added elements
236 @Override public boolean addAll(Collection<? extends E> elements) {
237 return delegate.addAll(checkElements(elements, constraint));
239 @Override public boolean addAll(int index, Collection<? extends E> elements)
241 return delegate.addAll(index, checkElements(elements, constraint));
270 * specified constraint. Any operations that would add new elements to the
274 * @param constraint the constraint for elements in the list
321 * constraint. Any operations that add new elements to the multiset will call
323 * existing elements satisfy the constraint.
328 * @param constraint the constraint that validates added elements
352 @Override public boolean addAll(Collection<? extends E> elements) {
353 return delegate.addAll(checkElements(elements, constraint));
370 * TODO(kevinb): For better performance, avoid making a copy of the elements
375 Collection<E> elements, Constraint<? super E> constraint) {
376 Collection<E> copy = Lists.newArrayList(elements);