Home
last modified time | relevance | path

Searched refs:valueCollection (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java181 Collection<V> valueCollection = map.values(); in assertInvariants() local
195 assertTrue(valueCollection.contains(value)); in assertInvariants()
196 assertTrue(valueCollection.containsAll(Collections.singleton(value))); in assertInvariants()
202 assertEquals(map.size(), valueCollection.size()); in assertInvariants()
203 assertEquals(valueCollection.size() == 0, valueCollection.isEmpty()); in assertInvariants()
205 !valueCollection.isEmpty(), valueCollection.iterator().hasNext()); in assertInvariants()
206 for (V value : valueCollection) { in assertInvariants()
243 Object[] valuesToArray1 = valueCollection.toArray(); in assertInvariants()
245 assertTrue(Arrays.asList(valuesToArray1).containsAll(valueCollection)); in assertInvariants()
249 assertSame(valuesToArray2, valueCollection.toArray(valuesToArray2)); in assertInvariants()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSortedSetMultimapAsMapTester.java39 for (Collection<V> valueCollection : multimap().asMap().values()) { in testAsMapValuesImplementSortedSet()
40 SortedSet<V> valueSet = (SortedSet<V>) valueCollection; in testAsMapValuesImplementSortedSet()
DMultimapAsMapTester.java102 Collection<V> valueCollection = Iterables.getOnlyElement(asMapEntrySet).getValue(); in testAsMapEntrySetReflectsPutSameKey() local
103 assertThat(valueCollection) in testAsMapEntrySetReflectsPutSameKey()
106 assertThat(valueCollection) in testAsMapEntrySetReflectsPutSameKey()
DSetMultimapAsMapTester.java47 for (Collection<V> valueCollection : multimap().asMap().values()) { in testAsMapValuesImplementSet()
48 assertTrue(valueCollection instanceof Set); in testAsMapValuesImplementSet()
DListMultimapAsMapTester.java47 for (Collection<V> valueCollection : multimap().asMap().values()) { in testAsMapValuesImplementList()
48 assertTrue(valueCollection instanceof List); in testAsMapValuesImplementList()
/external/guava/guava/src/com/google/common/collect/
DAbstractMultimap.java78 Collection<? extends V> valueCollection = (Collection<? extends V>) values; in putAll() local
79 return !valueCollection.isEmpty() && get(key).addAll(valueCollection); in putAll()
DImmutableMultimap.java660 for (ImmutableCollection<V> valueCollection : multimap.map.values()) {
661 offset = valueCollection.copyIntoArray(dst, offset);