Returns true if the collection self contains all of the elements in the collection c. This method iterates over the specified collection c, checking each element returned by the iterator in turn to see if it is contained in the specified collection self. I
(Collection<?> self, Collection<?> c)
| 289 | */ |
| 290 | |
| 291 | static boolean containsAllImpl(Collection<?> self, Collection<?> c) { |
| 292 | return Iterables.all(c, Predicates.in(self)); |
| 293 | } |
| 294 | |
| 295 | /** |
| 296 | * An implementation of {@link Collection#toString()}. |
no test coverage detected