Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 359 for EntrySet (0.08 sec)

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

        public SampleElements<Entry<K, V>> samples() {
          return mapGenerator.samples();
        }
    
        @Override
        public Set<Entry<K, V>> create(Object... elements) {
          return mapGenerator.create(elements).entrySet();
        }
    
        @Override
        public Entry<K, V>[] createArray(int length) {
          return mapGenerator.createArray(length);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_entrySet() {
        Multiset<String> c = ImmutableMultiset.of("a", "b", "c");
        SerializableTester.reserializeAndAssert(c.entrySet());
      }
    
      public void testEquals_immutableMultiset() {
        new EqualsTester()
            .addEqualityGroup(
                ImmutableMultiset.of("a", "b", "a"),
                ImmutableMultiset.of("a", "b", "a"),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            assertArgumentNotNull("options", options);
    
            final BeanDesc destBeanDesc = BeanDescFactory.getBeanDesc(dest.getClass());
            for (final Entry<String, ? extends Object> entry : src.entrySet()) {
                final String srcPropertyName = entry.getKey();
                if (!options.isTargetProperty(srcPropertyName)) {
                    continue;
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      // Would use Maps.immutableEntry
      public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> mapEntry(
          K key, V value) {
        return singletonMap(key, value).entrySet().iterator().next();
      }
    
      private static boolean isEmpty(Iterable<?> iterable) {
        return iterable instanceof Collection
            ? ((Collection<?>) iterable).isEmpty()
            : !iterable.iterator().hasNext();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            return request.getProfiles().stream()
                    .filter(profile -> activeProfileId.contains(profile.getId()))
                    .map(ModelBase::getProperties)
                    .flatMap(properties -> properties.entrySet().stream())
                    .filter(e -> e.getValue() != null)
                    .collect(Collectors.toMap(
                            e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue()), (k1, k2) -> k2));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            final Map<String, Object> params = new HashMap<>(defaultSettings);
            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
            systemProperties.entrySet().stream().forEach(e -> {
                final String key = e.getKey().toString();
                if (!key.startsWith(SAML_PREFIX)) {
                    return;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        }
                        final Map<String, DocumentField> fields = hit.getFields();
                        if (fields != null) {
                            docMap.putAll(fields.entrySet().stream()
                                    .collect(Collectors.toMap(Entry::getKey, e -> (Object) e.getValue().getValues())));
                        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        fakeTicker.advance(500, MILLISECONDS);
        cache.put(20, 22);
        cache.put(5, 10);
    
        fakeTicker.advance(501, MILLISECONDS);
    
        int sum = 0;
        for (Entry<Integer, Integer> current : cache.asMap().entrySet()) {
          sum += current.getKey() + current.getValue();
        }
        assertEquals(57, sum);
      }
    
      public void testAsMapValues_iteratorRemove() {
        Cache<Integer, Integer> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        Equivalence<ImmutableBiMap<String, Integer>> equivalence =
            Equivalence.equals()
                .<Entry<String, Integer>>pairwise()
                .onResultOf(ImmutableBiMap::entrySet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
                ImmutableBiMap.of("one", 1, "two", 2, "three", 3),
                mapEntry("one", 1),
                mapEntry("two", 2),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    getInitParameter(AUTH_SCHEME_PROVIDERS_PROPERTY, authSchemeProviderMap, Map.class);
            if (factoryMap != null) {
                for (final Map.Entry<String, AuthSchemeProvider> entry : factoryMap.entrySet()) {
                    authSchemeProviderBuilder.register(entry.getKey(), entry.getValue());
                }
            }
    
            // user agent
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top