Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 332 for getKey (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                // Phase 3: Add plugin management to the last local parent in hierarchy
                for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                    Path pomPath = entry.getKey();
                    Document pomDocument = entry.getValue();
                    processedPoms.add(pomPath);
    
                    context.info(pomPath + " (checking for plugin upgrades)");
                    context.indent();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

                throw new UncheckedExecutionException(e);
              }
            });
    
        CacheTesting.checkEmpty(cache);
        for (RemovalNotification<String, String> entry : notifications) {
          assertThat(entry.getKey()).isNotNull();
          assertThat(entry.getValue()).isNotNull();
        }
      }
    
      public void testComputeExceptionally() {
        assertThrows(
            RuntimeException.class,
            () ->
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Interners.java

            @SuppressWarnings("rawtypes") // using raw types to avoid a bug in our nullness checker :(
            InternalEntry entry = map.getEntry(sample);
            if (entry != null) {
              Object canonical = entry.getKey();
              if (canonical != null) { // only matters if weak/soft keys are used
                // The compiler would know this is safe if not for our use of raw types (see above).
                @SuppressWarnings("unchecked")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      public void testPut_nullValueSupported() {
        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
            "putIfAbsent(key, null) should return null",
            getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

          ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      private static final class ImmutableSetMultimapCopyOfEntriesGenerator
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

                        Map<String, String> map = CompactLinkedHashMap.create();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .named("CompactLinkedHashMap")
                .withFeatures(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

        protected Object getPluginKey(Plugin plugin) {
            return plugin.getKey();
        }
    
        @Override
        protected Object getPluginExecutionKey(PluginExecution pluginExecution) {
            return pluginExecution.getId();
        }
    
        @Override
        protected Object getReportPluginKey(ReportPlugin reportPlugin) {
            return reportPlugin.getKey();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

                            ImmutableClassToInstanceMap.builder();
                        for (Object object : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) object;
                          builder.put((Class) entry.getKey(), (Impl) entry.getValue());
                        }
                        return (Map) builder.build();
                      }
                    })
                .named("ImmutableClassToInstanceMap")
                .withFeatures(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

            // Extract artifact from all POMs in the project
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
                Document pomDocument = entry.getValue();
    
                Coordinates coordinate =
                        AbstractUpgradeStrategy.extractArtifactCoordinatesWithParentResolution(context, pomDocument);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top