Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Compare (0.29 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            for (String version : args) {
                ComparableVersion c = new ComparableVersion(version);
    
                if (prev != null) {
                    int compare = prev.compareTo(c);
                    System.out.println("   " + prev.toString() + ' ' + ((compare == 0) ? "==" : ((compare < 0) ? "<" : ">"))
                            + ' ' + version);
                }
    
                System.out.println(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

            assertEquals(p.getRepositories().size(), clone.getRepositories().size());
            // TODO deep compare the lists
            assertEquals(
                    p.getPluginRepositories().size(), clone.getPluginRepositories().size());
            // TODO deep compare the lists
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        <T> void set(@Nonnull Key<T> key, @Nullable T value);
    
        /**
         * Associates the specified session data with the given key if the key is currently mapped to the given value. This
         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                //                        new Comparator<MetadataGraphEdge>()
                //                        {
                //                            public int compare( MetadataGraphEdge e1
                //                                              , MetadataGraphEdge e2
                //                                              )
                //                            {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         * <li>{@code repo,repo1} = {@code repo} or {@code repo1},</li>
         * <li>{@code *,!repo1} = everything except {@code repo1}.</li>
         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1);
        }
    
        private void checkVersionsArrayEqual(String[] array) {
            // compare against each other (including itself)
            for (int i = 0; i < array.length; ++i)
                for (int j = i; j < array.length; ++j) checkVersionsEqual(array[i], array[j]);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-classworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar

    ng, int, String); } org/codehaus/plexus/classworlds/launcher/Configurator$1.class package org.codehaus.plexus.classworlds.launcher; synchronized class Configurator$1 implements java.util.Comparator { void Configurator$1(Configurator); public int compare(Object, Object); } org/codehaus/plexus/classworlds/launcher/Configurator$2.class package org.codehaus.plexus.classworlds.launcher; synchronized class Configurator$2 implements java.io.FilenameFilter { void Configurator$2(Configurator, String, String);...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 41.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    <code>item</code>. Whilst matching, the traversal of the examined {@link Iterable} * will stop as soon as a matching item is found. * <p/> * For example: * <pre>assertThat(Arrays.asList("foo", "bar"), hasItem("bar"))</pre> * * @param item * the item to compare against the items provided by the examined {@link Iterable} */ public static <T> org.hamcrest.Matcher<java.lang.Iterable<? super T>> hasItem(T item) { return org.hamcrest.core.IsCollectionContaini.<T>hasItem(item); } /** * Creates a matcher for {@link...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

         *
         * @param target the target location
         * @param source the source location
         * @param sourceDominant the boolean indicating of {@code source} is dominant compared to {@code target}
         * @return the merged location
         */
        public static InputLocation merge(InputLocation target, InputLocation source, boolean sourceDominant) {
            if (source == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

              <name>priority</name>
              <version>4.0.0/4.0.99</version>
              <type>int</type>
              <description>
                <![CDATA[
                The priority of this execution compared to other executions which are bound to the same phase.
                <p><strong>Warning:</strong> This is an internal utility property that is only public for technical reasons,
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
Back to top