Searched refs:valueCollection (Results 1 – 7 of 7) sorted by relevance
181 Collection<V> valueCollection = map.values(); in assertInvariants() local195 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 …]
39 for (Collection<V> valueCollection : multimap().asMap().values()) { in testAsMapValuesImplementSortedSet()40 SortedSet<V> valueSet = (SortedSet<V>) valueCollection; in testAsMapValuesImplementSortedSet()
102 Collection<V> valueCollection = Iterables.getOnlyElement(asMapEntrySet).getValue(); in testAsMapEntrySetReflectsPutSameKey() local103 assertThat(valueCollection) in testAsMapEntrySetReflectsPutSameKey()106 assertThat(valueCollection) in testAsMapEntrySetReflectsPutSameKey()
47 for (Collection<V> valueCollection : multimap().asMap().values()) { in testAsMapValuesImplementSet()48 assertTrue(valueCollection instanceof Set); in testAsMapValuesImplementSet()
47 for (Collection<V> valueCollection : multimap().asMap().values()) { in testAsMapValuesImplementList()48 assertTrue(valueCollection instanceof List); in testAsMapValuesImplementList()
78 Collection<? extends V> valueCollection = (Collection<? extends V>) values; in putAll() local79 return !valueCollection.isEmpty() && get(key).addAll(valueCollection); in putAll()
660 for (ImmutableCollection<V> valueCollection : multimap.map.values()) {661 offset = valueCollection.copyIntoArray(dst, offset);