Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for apply (0.14 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @Test
        void testDefaultPolicy() throws Exception {
            MetadataGraphEdge res;
    
            res = policy.apply(e1, e2);
            assertEquals("1.1", res.getVersion(), "Wrong depth edge selected");
    
            res = policy.apply(e1, e3);
            assertEquals("1.2", res.getVersion(), "Wrong version edge selected");
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                        Object key = getPluginKey().apply(element);
                        master.put(key, element);
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = master.get(key);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

                @Override
                public boolean hasNext() {
                    return it.hasNext();
                }
    
                @Override
                public U next() {
                    return mapper.apply(it.next());
                }
            };
        }
    
        @Override
        public int size() {
            return list.size();
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  4. LICENSE

          of your accepting any such warranty or additional liability.
    
       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
          To apply the Apache License to your work, attach the following
          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 11 20:39:30 GMT 2013
    - 11.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/MappedList.java

        public MappedList(List<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public U get(int index) {
            return mapper.apply(list.get(index));
        }
    
        @Override
        public int size() {
            return list.size();
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  6. apache-maven/src/main/appended-resources/licenses/EPL-1.0.txt

    Contribution of such Contributor, if any, in source code and object code form.
    This patent license shall apply to the combination of the Contribution and
    the Program if, at the time the Contribution is added by the Contributor,
    such addition of the Contribution causes such combination to be covered by
    the Licensed Patents. The patent license shall not apply to any other combinations
    which include the Contribution. No hardware per se is licensed hereunder.
    
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Sep 17 05:50:12 GMT 2018
    - 11.1K bytes
    - Viewed (0)
  7. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
    apply to your use of any object code in the Content.  Check the Redistributor's license that was
    provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
    indicated below, the terms and conditions of the EPL still apply to any source code in the Content
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Sep 10 19:27:25 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java

        private <T> List<T> injectList(List<T> list, Function<T, T> modifer) {
            List<T> newList = null;
            for (int i = 0; i < list.size(); i++) {
                T oldT = list.get(i);
                T newT = modifer.apply(oldT);
                if (newT != oldT) {
                    if (newList == null) {
                        newList = new ArrayList<>(list);
                    }
                    newList.set(i, newT);
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

    import java.util.Set;
    
    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
     * scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
     * single step. This should be a more efficient implementation of multiple standard {@link ScopeArtifactFilter}
     * instances ORed together.
     *
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
         * and its descendant will be checked.
         *
         * @param filter the filter to apply
         * @return a new filtered graph
         */
        @Nonnull
        Node filter(@Nonnull Predicate<Node> filter);
    
        /**
         * Returns a string representation of this dependency node.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top