- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 361 for entrySet (0.07 sec)
-
android/guava/src/com/google/common/collect/Multisets.java
@LazyInit @CheckForNull transient Set<Multiset.Entry<E>> entrySet; @SuppressWarnings("unchecked") @Override public Set<Multiset.Entry<E>> entrySet() { Set<Multiset.Entry<E>> es = entrySet; return (es == null) // Safe because the returned set is made unmodifiable and Entry // itself is readonly ? entrySet = (Set) Collections.unmodifiableSet(delegate.entrySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
@LazyInit @CheckForNull transient Set<Multiset.Entry<E>> entrySet; @SuppressWarnings("unchecked") @Override public Set<Multiset.Entry<E>> entrySet() { Set<Multiset.Entry<E>> es = entrySet; return (es == null) // Safe because the returned set is made unmodifiable and Entry // itself is readonly ? entrySet = (Set) Collections.unmodifiableSet(delegate.entrySet())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
for (Map<String, Object> doc : docs) { String[] keywords = query.split(" "); assertTrue(doc.entrySet().stream() .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[0].toLowerCase())), doc.toString()); assertFalse(doc.entrySet().stream()
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
for (Entry<K, V> entry : getMap().entrySet()) { assertThrows(NullPointerException.class, () -> entry.setValue(null)); expectUnchanged(); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testSetValueNullSupported() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { entry.setValue(null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testEntrySet() { Map<String, Integer> map = create(); Set<Entry<String, Integer>> entrySet = map.entrySet(); assertTrue(entrySet instanceof SynchronizedSet); assertSame(mutex, ((SynchronizedSet<?>) entrySet).mutex); } public void testEquals() { boolean unused = create().equals(new HashMap<String, Integer>()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
assertFalse(getMap().entrySet().iterator().hasNext()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testClearConcurrentWithEntrySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); getMap().clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
SerializedForm(Multiset<? extends Object> multiset) { int distinct = multiset.entrySet().size(); elements = new Object[distinct]; counts = new int[distinct]; int i = 0; for (Entry<? extends Object> entry : multiset.entrySet()) { elements[i] = entry.getElement(); counts[i] = entry.getCount(); i++; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java
if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); Gist gist = gistJsonAdapter.fromJson(response.body().source()); for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) { System.out.println(entry.getKey()); System.out.println(entry.getValue().content); } } } static class Gist { Map<String, GistFile> files; }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
*/ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultisetFeature implements Feature<Multiset> { /** * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the * backing multiset. */ ENTRIES_ARE_VIEWS; @Override public Set<Feature<? super Multiset>> getImpliedFeatures() { return emptySet(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.8K bytes - Viewed (0)