Lines Matching defs:elements

42    * constraint. Any operations that add new elements to the collection will
44 * existing elements satisfy the constraint.
49 * @param constraint the constraint that validates added elements
74 @Override public boolean addAll(Collection<? extends E> elements) {
75 return delegate.addAll(checkElements(elements, constraint));
81 * constraint. Any operations that add new elements to the set will call the
83 * elements satisfy the constraint.
88 * @param constraint the constraint that validates added elements
112 @Override public boolean addAll(Collection<? extends E> elements) {
113 return delegate.addAll(checkElements(elements, constraint));
119 * constraint. Any operations that add new elements to the sorted set will
121 * existing elements satisfy the constraint.
126 * @param constraint the constraint that validates added elements
161 @Override public boolean addAll(Collection<? extends E> elements) {
162 return delegate.addAll(checkElements(elements, constraint));
168 * constraint. Any operations that add new elements to the list will call the
170 * elements satisfy the constraint.
176 * @param constraint the constraint that validates added elements
208 @Override public boolean addAll(Collection<? extends E> elements) {
209 return delegate.addAll(checkElements(elements, constraint));
211 @Override public boolean addAll(int index, Collection<? extends E> elements)
213 return delegate.addAll(index, checkElements(elements, constraint));
242 * specified constraint. Any operations that would add new elements to the
246 * @param constraint the constraint for elements in the list
292 * TODO(kevinb): For better performance, avoid making a copy of the elements
297 Collection<E> elements, Constraint<? super E> constraint) {
298 Collection<E> copy = Lists.newArrayList(elements);