Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 338 for EntrySet (0.11 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                values.add(value);
                key = connection.getHeaderFieldKey(i);
                value = connection.getHeaderField(i);
            }
            final Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                final Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List) entry.getValue()));
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

                    used = true;
                    return ae;
                  }
                });
        ImmutableMap<AnEnum, AnEnum> copy = Maps.immutableEnumMap(map);
        assertThat(copy.entrySet()).containsExactly(mapEntry(AnEnum.A, AnEnum.A));
      }
    
      public void testEmptyImmutableEnumMap() {
        ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

      static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) {
        switch (map.size()) {
          case 0:
            return ImmutableMap.of();
          case 1:
            Entry<K, V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            return new ImmutableEnumMap<>(map);
        }
      }
    
      private final transient EnumMap<K, V> delegate;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            return CollectSpliterators.map(
                submap.entrySet().spliterator(),
                Spliterator.DISTINCT | Spliterator.NONNULL,
                AsMap.this::wrapEntry);
          }
    
          // The following methods are included for performance.
    
          @Override
          public boolean contains(@Nullable Object o) {
            return Collections2.safeContains(submap.entrySet(), o);
          }
    
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayMap.java

                h += listTable[i].hashCode();
            }
            return h;
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Set<Map.Entry<K, V>> entrySet() {
            if (entrySet == null) {
                entrySet = new AbstractSet<Entry<K, V>>() {
                    @Override
                    public Iterator<Entry<K, V>> iterator() {
                        return new ArrayMapIterator();
                    }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            final Map<String, Object> factoryParamMap = new HashMap<>();
            factory.setInitParameterMap(factoryParamMap);
    
            // parameters
            for (final Map.Entry<String, String> entry : paramMap.entrySet()) {
                final String key = entry.getKey();
                if (key.startsWith(CRAWLER_PARAM_PREFIX)) {
                    factoryParamMap.put(key.substring(CRAWLER_PARAM_PREFIX.length()), entry.getValue());
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Entry<Object, Object>> entries = cache.asMap().entrySet();
          List<Entry<Object, Object>> warmed = warmUp(cache, WARMUP_MIN, WARMUP_MAX);
    
          Set<?> expected = new HashMap<>(cache.asMap()).entrySet();
          assertThat(entries).containsExactlyElementsIn(expected);
          assertThat(entries.toArray()).asList().containsExactlyElementsIn(expected);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
        assertEquals(a, navigableMap.pollFirstEntry());
        assertEquals(entries.subList(1, entries.size()), copyToList(navigableMap.entrySet()));
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableMap.pollFirstEntry());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top