Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 38 for entrySet (0.06 seconds)

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

                    int idx = 0;
                    for (Entry<K, V> e : map.entrySet()) {
                        entries[idx++] = new SimpleImmutableEntry<>(e.getKey(), e.getValue());
                    }
                } else {
                    entries = new Object[0];
                }
            }
    
            @Override
            public Set<Entry<K, V>> entrySet() {
                return new AbstractImmutableSet<>() {
                    @Override
    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. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            this.source = location.getSource() != null ? new InputSource(location.getSource()) : null;
            this.locations = location.getLocations().isEmpty()
                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
                                    e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
    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)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            JavaToolchainImpl jtc = new DefaultJavaToolChain(model, logger);
    
            // 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)
  4. 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)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

            props.setProperty("foo1", "bar1");
            props.setProperty("foo2", "bar2");
            PropertiesAsMap pam = new PropertiesAsMap(props);
            assertEquals(2, pam.size());
            Set<Entry<String, String>> set = pam.entrySet();
            assertNotNull(set);
            assertEquals(2, set.size());
            Iterator<Entry<String, String>> iterator = set.iterator();
            assertNotNull(iterator);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

        private int position;
    
        Xpp3DomAttributeIterator(NodePointer parent, QName qname) {
            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
    
            this.attributes = this.node.attributes().entrySet().stream()
                    .filter(a -> a.getKey().equals(qname.getName()) || "*".equals(qname.getName()))
                    .collect(Collectors.toList());
        }
    
        @Override
        public NodePointer getNodePointer() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                        analyzePluginsUsingEffectiveModels(context, pomMap, tempDir);
    
                // 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);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                            response.isValid() ? "VALID" : "INVALID")
                    .build());
            for (Map.Entry<SecDispatcher.ValidationResponse.Level, List<String>> entry :
                    response.getReport().entrySet()) {
                Consumer<String> consumer = s ->
                        context.logger.info(messageBuilderFactory.builder().info(s).build());
                if (entry.getKey() == SecDispatcher.ValidationResponse.Level.ERROR) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. 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
    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)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    if (dispatcherConfigResult.isEmpty()) {
                        throw new InterruptedException();
                    }
    
                    List<Map.Entry<String, PromptResultItemIF>> editables = dispatcherConfigResult.entrySet().stream()
                            .filter(e -> e.getValue().getResult().contains("$"))
                            .toList();
                    if (!editables.isEmpty()) {
                        context.addInHeader("");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top