- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 277 for setKey (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
} private String expectedToString(Set<Entry<K, V>> entries) { Map<K, V> reference = new LinkedHashMap<>(); for (Entry<K, V> entry : entries) { reference.put(entry.getKey(), entry.getValue()); } return reference.toString(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
} @MapFeature.Require(SUPPORTS_PUT) @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())); }
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
} @MapFeature.Require(SUPPORTS_PUT) @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())); }
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/src/com/google/common/graph/DirectedGraphConnections.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@Test public void testEntrySet() throws Exception { Iterator<Map.Entry<String, String>> i = map.entrySet().iterator(); assertThat(i.next().getKey(), is(nullValue())); assertThat(i.next().getKey(), is("1")); assertThat(i.next().getKey(), is("2")); } /** * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()} * . */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
if (testAsByteSource) { suite.addTest( suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true)); } else { suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey())); } } return suite; } static TestSuite suiteForBytes(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
"Should not contain null after unsupported putIfAbsent(present, null)"); } @CanIgnoreReturnValue private V putIfAbsent(Entry<K, V> entry) { return getMap().putIfAbsent(entry.getKey(), entry.getValue()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
/** Returns the next entry in the chain. */ @Nullable ReferenceEntry<K, V> getNext(); /** Returns the entry's hash. */ int getHash(); /** Returns the key for this entry. */ @Nullable K getKey(); /* * Used by entries that use access order. Access entries are maintained in a doubly-linked list. * New entries are added at the tail of the list at write time; stale entries are expired from
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher(); ParameterUtil.parse(value).entrySet().stream().map(e -> { final String k = e.getKey(); final String v = e.getValue(); if (properyPattern.matcher(k).matches() && !v.startsWith(CIPHER_PREFIX)) { return new Pair<>(k, CIPHER_PREFIX + cipher.encrypt(v)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0)