- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 399 for retValue (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
BiMap<K, V> bimap = (BiMap<K, V>) map; for (Entry<K, V> entry : map.entrySet()) { assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString()); assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); } assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString()); assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2K 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; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
"Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element."); } Path normal = Paths.get(javahome.getValue()).normalize(); if (Files.exists(normal)) { jtc.setJavaHome(Paths.get(javahome.getValue()).normalize().toString()); } else { throw new MisconfiguredToolchainException(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java
ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } public static class ImmutableBiMapCopyOfGenerator extends TestStringBiMapGenerator { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
}); } @Test public void testHandleType() { assertEquals(0, HandleType.NONE.getValue()); assertEquals(1, HandleType.DURABLE_V1.getValue()); assertEquals(2, HandleType.DURABLE_V2.getValue()); assertEquals(3, HandleType.PERSISTENT.getValue()); assertEquals(HandleType.NONE, HandleType.fromValue(0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
verify(transport).getDfsReferrals(eq(ctx), nameCap.capture(), hostCap.capture(), domCap.capture(), rnCap.capture()); assertEquals(name, nameCap.getValue()); assertEquals(host, hostCap.getValue()); assertEquals(domain, domCap.getValue()); assertEquals(rn, rnCap.getValue()); } // Edge case: test with empty name @Test @DisplayName("getDfsReferrals handles empty name via CIFSException")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
assertEquals("foo", entry.getKey()); assertThat(entry.getValue()).containsExactly(1, 3, 7); entry = iterator.next(); assertEquals("google", entry.getKey()); assertThat(entry.getValue()).containsExactly(2, 6); entry = iterator.next(); assertEquals("tree", entry.getKey()); assertThat(entry.getValue()).containsExactly(0, 4); } public void testOrderedEntries() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java
map.put("boost2", 0); assertTrue(0.0f == docBoostMatcher.getValue(map)); map.put("boost1", 1); map.put("boost2", 0); assertTrue(10.0f == docBoostMatcher.getValue(map)); map.put("boost1", 1); map.put("boost2", 2); assertTrue(12.0f == docBoostMatcher.getValue(map)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.6K bytes - Viewed (0)