@Test public void testContainsAllEmptyCollection() { EntryHolder entryHolder = mock(EntryHolder.class); Set set = new HashSet(); ValueCollection valueCollection = new ValueCollection(entryHolder, set); valueCollection.containsAll(new ArrayList()); }
public boolean containsAll(Collection<?> arg0) { for (Object object : arg0) { if (!contains(object)) { return false; } } return true; }
ValueCollection implements Collection<V> { public boolean containsAll(Collection<?> arg0) { for (Object object : arg0) { if (!contains(object)) { return false; } } return true; } }
ValueCollection implements Collection<V> { public boolean containsAll(Collection<?> arg0) { for (Object object : arg0) { if (!contains(object)) { return false; } } return true; } ValueCollection(EntryHolder<K, V> proxy, Set<Entry<K, V>> entrySet); }
ValueCollection implements Collection<V> { public boolean containsAll(Collection<?> arg0) { for (Object object : arg0) { if (!contains(object)) { return false; } } return true; } ValueCollection(EntryHolder<K, V> proxy, Set<Entry<K, V>> entrySet); boolean add(V arg0); boolean addAll(Collection<? extends V> arg0); void clear(); boolean contains(Object arg0); boolean containsAll(Collection<?> arg0); boolean isEmpty(); Iterator<V> iterator(); boolean remove(Object arg0); boolean removeAll(Collection<?> arg0); boolean retainAll(Collection<?> arg0); int size(); Object[] toArray(); T[] toArray(final T[] a); }
ValueCollection implements Collection<V> { public boolean containsAll(Collection<?> arg0) { for (Object object : arg0) { if (!contains(object)) { return false; } } return true; } ValueCollection(EntryHolder<K, V> proxy, Set<Entry<K, V>> entrySet); boolean add(V arg0); boolean addAll(Collection<? extends V> arg0); void clear(); boolean contains(Object arg0); boolean containsAll(Collection<?> arg0); boolean isEmpty(); Iterator<V> iterator(); boolean remove(Object arg0); boolean removeAll(Collection<?> arg0); boolean retainAll(Collection<?> arg0); int size(); Object[] toArray(); T[] toArray(final T[] a);  }