Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Compare (0.17 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-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)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-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 Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 41.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    testComparator(); } org/junit/experimental/max/MaxHistory$TestComparator.class package org.junit.experimental.max; synchronized class MaxHistory$TestComparator implements java.util.Comparator { private void MaxHistory$TestComparator(MaxHistory); public int compare(org.junit.runner.Description, org.junit.runner.Description); private Long getFailure(org.junit.runner.Description); } org/junit/experimental/max/CouldNotReadCoreExce.class package org.junit.experimental.max; public synchronized class CouldNotReadCoreExce...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 373.7K bytes
    - Viewed (0)
  10. 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)
Back to top