- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 190 for testvalue (0.23 sec)
-
android/guava-tests/test/com/google/common/collect/CompactHashMapTest.java
Map<String, String> map = CompactHashMap.create(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return map; } }) .named("CompactHashMap") .withFeatures( CollectionSize.ANY,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 21 14:41:51 GMT 2020 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(SEVERAL) public void testSetValue_valuePresent() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
K key = entry.getKey(); V value = entry.getValue(); Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator(); Collection<V> collection = null; while (asMapItr.hasNext()) { Entry<K, Collection<V>> asMapEntry = asMapItr.next(); if (key.equals(asMapEntry.getKey())) { collection = asMapEntry.getValue(); break; } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural()); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return map; } }) .withFeatures( CollectionSize.ANY, CollectionFeature.KNOWN_ORDER,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Mar 18 18:06:40 GMT 2022 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
for (K key : sampleKeys()) { List<V> expectedValues = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) { if (entry.getKey().equals(key)) { expectedValues.add(entry.getValue()); } } Collection<V> collection = multimap().asMap().get(key); if (expectedValues.isEmpty()) { assertNull(collection); } else {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
if (testAsByteSource) { suite.addTest( suiteForBytes( factory, entry.getValue().getBytes(Charsets.UTF_8), name, entry.getKey(), true)); } else { suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey())); } } return suite; } static TestSuite suiteForBytes(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { if (testAsCharSource) { suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey())); } else { suite.addTest( suiteForBytes( factory, entry.getValue().getBytes(Charsets.UTF_8), name, entry.getKey(), true)); } } return suite; } static TestSuite suiteForString(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.6K bytes - Viewed (0)