- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 464 for entrySet (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPutAbsentConcurrentWithEntrySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); put(e3()); iterator.next(); }); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT}) @CollectionSize.Require(absent = ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
} public void testOrderedAsMapEntries() { TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate(); Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator(); Entry<String, Collection<Integer>> entry = iterator.next(); assertThat(entry.getKey()).isNull(); assertThat(entry.getValue()).containsExactly(7, 3, 1); entry = iterator.next();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
if (StringUtil.isNotEmpty(contentType)) { curlRequest.header("Content-Type", contentType); } request.getParameterMap().entrySet().stream().forEach(entry -> { if (entry.getValue().length > 1) { curlRequest.param(entry.getKey(), String.join(",", entry.getValue())); } else if (entry.getValue().length == 1) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:40 GMT 2026 - 13.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
extends AbstractContainerTester<Map<K, V>, Entry<K, V>> { protected Map<K, V> getMap() { return container; } @Override protected Collection<Entry<K, V>> actualContents() { return getMap().entrySet(); } /** * @see AbstractContainerTester#resetContainer() */ protected final void resetMap() { resetContainer(); } protected void resetMap(Entry<K, V>[] entries) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
this.source = location.getSource() != null ? new InputSource(location.getSource()) : null; this.locations = location.getLocations().isEmpty() ? null : location.getLocations().entrySet().stream() .collect(Collectors.toMap( e -> e.getKey(), e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
new MapEntrySetGenerator<K, V>(parentBuilder.getSubjectGenerator())) .withFeatures(computeEntrySetFeatures(parentBuilder.getFeatures())) .named(parentBuilder.getName() + " entrySet") .suppressing(parentBuilder.getSuppressedTests()) .withSetUp(parentBuilder.getSetUp()) .withTearDown(parentBuilder.getTearDown()) .createTestSuite());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 11K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(map.size()); ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(map.size()); for (Entry<Range<K>, ? extends V> entry : map.entrySet()) { rangesBuilder.add(entry.getKey()); valuesBuilder.add(entry.getValue()); } return new ImmutableRangeMap<>(rangesBuilder.build(), valuesBuilder.build()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 14.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* convenient. * * <p>By default, a {@code Builder} will generate bimaps that iterate over entries in the order * they were inserted into the builder. For example, in the above example, {@code * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1, * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If youCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
BiPredicate<ImmutableListMultimap<?, ?>, ImmutableListMultimap<?, ?>> equivalence = Equivalence.equals() .onResultOf((ImmutableListMultimap<?, ?> mm) -> mm.asMap().entrySet().asList()) .and(Equivalence.equals()); CollectorTester.of(collector, equivalence) .expectCollects(ImmutableListMultimap.of()) .expectCollects(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.1K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
throw new RuntimeCIFSException("Failed to set request method", e); } this.headerFields = null; for (final Entry<String, List<String>> property : this.connection.getRequestProperties().entrySet()) { final String key = property.getKey(); final StringBuilder value = new StringBuilder(); final Iterator<String> values = property.getValue().iterator();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0)