Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 118 for getKey (0.04 seconds)

  1. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                    case 0:
                        return emptyMap();
                    case 1:
                        Map.Entry<K, V> entry = map.entrySet().iterator().next();
                        return singletonMap(entry.getKey(), entry.getValue());
                    default:
                        return new MapN<>(map);
                }
            }
        }
    
        @SuppressWarnings("unchecked")
        static <K, V> Map<K, V> emptyMap() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        .filter(k -> !sys.contains(k.getKey()))
                        .peek(k -> context.pushedUserProperties.add(k.getKey()))
                        .forEach(k -> System.setProperty(k.getKey(), k.getValue()));
            } else {
                protoSession.getUserProperties().entrySet().stream()
                        .filter(k -> context.pushedUserProperties.contains(k.getKey()) || !sys.contains(k.getKey()))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  3. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
                                    e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
            this.importedFrom = location.getImportedFrom() != null ? new InputLocation(location.getImportedFrom()) : null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            // populate the provides section
            Properties provides = model.getProvides();
            for (Entry<Object, Object> provide : provides.entrySet()) {
                String key = (String) provide.getKey();
                String value = (String) provide.getValue();
    
                if (value == null) {
                    throw new MisconfiguredToolchainException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

            classes.put(fullyQualifiedClassName, metaData);
        }
    
        @Override
        public void each(Closure cl) {
            for (Map.Entry<String, T> entry : classes.entrySet()) {
                cl.call(new Object[]{entry.getKey(), entry.getValue()});
            }
        }
    
        public void each(Action<? super T> action) {
            for (T t : classes.values()) {
                action.execute(t);
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

                    for (Map.Entry<String, String> entry : System.getenv().entrySet()) {
                        String key = "env."
                                + (caseSensitive ? entry.getKey() : entry.getKey().toUpperCase(Locale.ENGLISH));
                        tmp.setProperty(key, entry.getValue());
                    }
                    envVars = tmp;
                }
    
                props.putAll(envVars);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java

                }
                versions.put(plugin.getKey(), plugin.getVersion());
            }
    
            PluginManagement pluginManagement = project.getPluginManagement();
            if (pluginManagement != null) {
                for (Plugin plugin : pluginManagement.getPlugins()) {
                    if (plugin.getVersion() == null) {
                        plugin.setVersion(versions.get(plugin.getKey()));
                        if (plugin.getVersion() == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            }
    
            private void putAll(Map<Object, Object> s, Map<Object, Object> t, Object excludeKey) {
                for (Map.Entry<Object, Object> e : t.entrySet()) {
                    if (!e.getKey().equals(excludeKey)) {
                        s.put(e.getKey(), e.getValue());
                    }
                }
            }
    
            @Override
            protected void mergePluginContainer_Plugins(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        @Override
        public String getBaseVersion() {
            // Don't want the artifact's version in here, as this is stored in the directory above that
            return null;
        }
    
        @Override
        public Object getKey() {
            return "artifact " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
        @Override
        public boolean isSnapshot() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

                                            + ":" + goal)))));
            return goals.entrySet().stream()
                    .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue()))));
        }
    
        public Map<String, LifecyclePhase> getDefaultLifecyclePhases() {
            return defaultPhases;
        }
    
        @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
Back to Top