Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 135 for asMap (0.01 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        // Each of the values added to the map should either still be there, or have seen a removal
        // notification.
        assertThat(Sets.union(cache.asMap().keySet(), removalNotifications.keySet()))
            .isEqualTo(expectedKeys);
        assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet());
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

            multimap.putAll("bar", asList(10, 11));
            multimap.putAll("cat", asList(12, 13, 14));
            return multimap.asMap().entrySet().iterator();
          }
    
          @Override
          protected void verify(List<Entry<String, Collection<Integer>>> elements) {
            assertEquals(new HashSet<>(elements), multimap.asMap().entrySet());
          }
        }.test();
      }
    
      public void testKeysSpliterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        } else {
          return ListTestSuiteBuilder.using(
                  new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
              .named(parentBuilder.getName() + ".asMap[].get[key]")
              .suppressing(parentBuilder.getSuppressedTests())
              .createTestSuite();
        }
      }
    
      @Override
      Set<Feature<?>> computeMultimapGetFeatures(Set<Feature<?>> multimapFeatures) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

        } else {
          return SetTestSuiteBuilder.using(
                  new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
              .named(parentBuilder.getName() + ".asMap[].get[key]")
              .suppressing(parentBuilder.getSuppressedTests())
              .createTestSuite();
        }
      }
    
      @Override
      TestSuite computeEntriesTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

        initMultimapWithNullValue();
        testToStringMatchesAsMap();
      }
    
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringMatchesAsMap() {
        assertEquals(multimap().asMap().toString(), multimap().toString());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

            try (PrintWriter mappingFileWriter = new PrintWriter(new FileWriter(getMappingDestFile().getAsFile().get()))) {
                for (Map.Entry<String, Collection<String>> entry : simpleNames.asMap().entrySet()) {
                    if (entry.getValue().size() > 1) {
                        StringBuilder warning = new StringBuilder();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:21 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

      void register(Object listener) {
        Multimap<Class<?>, Subscriber> listenerMethods = findAllSubscribers(listener);
    
        for (Entry<Class<?>, Collection<Subscriber>> entry : listenerMethods.asMap().entrySet()) {
          Class<?> eventType = entry.getKey();
          Collection<Subscriber> eventMethodsInListener = entry.getValue();
    
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

        } else {
          return SetTestSuiteBuilder.using(
                  new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
              .named(parentBuilder.getName() + ".asMap[].get[key]")
              .suppressing(parentBuilder.getSuppressedTests())
              .createTestSuite();
        }
      }
    
      @Override
      TestSuite computeEntriesTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
      }
    
      public void testHashCodeMatchesAsMap() {
        assertEquals(multimap().asMap().hashCode(), multimap().hashCode());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/LinkedListMultimap.java

     * {@link #replaceValues} attempts to preserve iteration order as much as possible.
     *
     * <p>The collections returned by {@link #keySet()} and {@link #asMap()} iterate through the keys in
     * the order they were first added to the multimap. Similarly, {@link #get}, {@link #removeAll}, and
     * {@link #replaceValues} return collections that iterate through the values in the order they were
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
Back to Top