- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for testEntrySet (0.17 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_clear() { getMultiset().entrySet().clear(); assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testEntrySet_iteratorRemovePropagates() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 9.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
getMultiset().elementSet().contains(e0())); } @CollectionSize.Require(absent = ZERO) public void testEntrySet_contains() { assertTrue( "multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); } public void testEntrySet_contains_count0() { assertFalse( "multiset.entrySet() contains [missing, 0]",
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
public void testEntrySet_nullToArray() { for (LoadingCache<Object, Object> cache : caches()) { Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); assertThrows( NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null)); checkEmpty(cache); } } public void testEntrySet_addNotSupported() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
getMultiset().elementSet().contains(e0())); } @CollectionSize.Require(absent = ZERO) public void testEntrySet_contains() { assertTrue( "multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); } public void testEntrySet_contains_count0() { assertFalse( "multiset.entrySet() contains [missing, 0]",
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_clear() { getMultiset().entrySet().clear(); assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testEntrySet_iteratorRemovePropagates() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
public void testEntrySet_nullToArray() { for (LoadingCache<Object, Object> cache : caches()) { Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); assertThrows( NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null)); checkEmpty(cache); } } public void testEntrySet_addNotSupported() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
public void testSerializable() { Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED)); assertEquals(ms, SerializableTester.reserialize(ms)); } public void testEntrySet() { Multiset<Color> ms = EnumMultiset.create(Color.class); ms.add(Color.BLUE, 3); ms.add(Color.YELLOW, 1); ms.add(Color.RED, 2); Set<Object> uniqueEntries = Sets.newIdentityHashSet();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
public void testSerializable() { Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED)); assertEquals(ms, SerializableTester.reserialize(ms)); } public void testEntrySet() { Multiset<Color> ms = EnumMultiset.create(Color.class); ms.add(Color.BLUE, 3); ms.add(Color.YELLOW, 1); ms.add(Color.RED, 2); Set<Object> uniqueEntries = Sets.newIdentityHashSet();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
Collection<Integer> values = map.values(); assertTrue(values instanceof SynchronizedCollection); assertSame(mutex, ((SynchronizedCollection<?>) values).mutex); } public void testEntrySet() { Map<String, Integer> map = create(); Set<Entry<String, Integer>> entrySet = map.entrySet(); assertTrue(entrySet instanceof SynchronizedSet); assertSame(mutex, ((SynchronizedSet<?>) entrySet).mutex);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
@GwtIncompatible // keyType public void testKeyType() { EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); assertEquals(Currency.class, bimap.keyType()); } public void testEntrySet() { // Bug 3168290 Map<Currency, String> map = ImmutableMap.of( Currency.DOLLAR, "dollar", Currency.PESO, "peso", Currency.FRANC, "franc");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 8.1K bytes - Viewed (0)