Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 275 for EntrySet (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) checkNotNull(o);
            builder.put(entry);
          }
          return builder.build().entrySet().asList();
        }
      }
    
      public static class ImmutableSortedMapKeyListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

      }
    
      private void testHasMapEntriesInOrder(Map<?, ?> map, Object... alternatingKeysAndValues) {
        List<? extends Entry<?, ?>> entries = new ArrayList<>(map.entrySet());
        List<Object> keys = new ArrayList<>(map.keySet());
        List<Object> values = new ArrayList<>(map.values());
        assertEquals(2 * entries.size(), alternatingKeysAndValues.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractMultimap.java

          return AbstractMultimap.this;
        }
    
        @Override
        public Iterator<Entry<K, V>> iterator() {
          return entryIterator();
        }
      }
    
      @WeakOuter
      final class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

     * collector by only using a constant number of internal objects.
     *
     * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
     * {@link #values} views is the same as insertion order. Any removal invalidates any ordering
     * guarantees.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        expected.add(mapEntry(k0(), (Collection<V>) Lists.newArrayList(v0(), v3())));
        expected.add(mapEntry(k1(), (Collection<V>) Lists.newArrayList(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * ListMultimap.asMap essentially returns a Map<K, List<V>>; we just can't declare it that way.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        expected.add(mapEntry(k0(), (Collection<V>) Lists.newArrayList(v0(), v3())));
        expected.add(mapEntry(k1(), (Collection<V>) Lists.newArrayList(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * ListMultimap.asMap essentially returns a Map<K, List<V>>; we just can't declare it that way.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. 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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

            }
            if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
                getWebConfig().getConfigParameterMap(ConfigName.CONFIG)
                        .entrySet()
                        .stream()
                        .filter(e -> e.getKey().startsWith(Config.JCIFS_PREFIX))
                        .forEach(e -> {
                            props.setProperty(e.getKey(), e.getValue());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3())));
        expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        }
      }
    
      public void testEntrySetValueAfterRemoved() {
        CompactHashMap<Integer, String> map = CompactHashMap.create();
        map.put(1, "1");
        Entry<Integer, String> entry = getOnlyElement(map.entrySet());
        map.remove(1);
        entry.setValue("one");
        assertThat(map).containsEntry(1, "one");
      }
    
      public void testAllocArraysDefault() {
        CompactHashMap<Integer, String> map = CompactHashMap.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top