- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 325 for getKeys (0.05 sec)
-
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/test/java/jcifs/spnego/NegTokenTargTest.java
// Act – serialise and parse back byte[] bytes = original.toByteArray(); NegTokenTarg roundTrip = new NegTokenTarg(bytes); // Assert – all getters match the original values assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip"); assertEquals(mech, roundTrip.getMechanism(), "mechanism should roundtrip");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0; static final Predicate<Entry<String, Integer>> CORRECT_LENGTH = input -> input.getKey().length() == input.getValue(); abstract Map<String, Integer> createUnfiltered(); public void testFilteredKeysIllegalPut() { Map<String, Integer> unfiltered = createUnfiltered();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
Map<String, String> map = CompactLinkedHashMap.create(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return map; } }) .named("CompactLinkedHashMap") .withFeatures(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
if (delegate != null) { return delegate.entrySet().contains(o); } else if (o instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) o; int index = indexOf(entry.getKey()); return index != -1 && Objects.equals(value(index), entry.getValue()); } return false; } @Override public boolean remove(@Nullable Object o) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) { for (Entry<? extends K, ? extends Collection<? extends V>> entry : multimap.asMap().entrySet()) { putAll(entry.getKey(), entry.getValue()); } return this; } @CanIgnoreReturnValue @Override Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) { super.combine(other);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
StringHolder holder = new StringHolder(); holder.string = "one"; Entry<String, Integer> entry = new AbstractMapEntry<String, Integer>() { @Override public String getKey() { return holder.string; } @Override public Integer getValue() { return 1; } }; builder.put(entry);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0)