Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for sorted (0.08 sec)

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

                            Item l = left.hasNext() ? left.next() : null;
                            Item r = right.hasNext() ? right.next() : null;
    
                            // if this is shorter, then invert the compare and mul with -1
                            int result = l == null ? (r == null ? 0 : -1 * r.compareTo(l)) : l.compareTo(r);
    
                            if (result != 0) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Gets the relative path for a locally installed artifact. Note that the artifact need not actually exist yet at
         * the returned location, the path merely indicates where the artifact would eventually be stored.
         * <p>
         * Shortcut for {@code getService(LocalArtifactManager.class).getPathForLocalArtitact(...)}.
         *
         * @param artifact the artifact for which to get a local path
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                            }
                        } catch (InvalidVersionSpecificationException e) {
                            result.addException(e);
                        }
                    }
    
                    Collections.sort(versions);
                    result.setVersions(versions);
                }
            }
    
            return result;
        }
    
        private Map<String, ArtifactRepository> getVersions(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                                artifact.setAvailableVersions(versions);
                                            }
    
                                            Collections.sort(versions);
    
                                            VersionRange versionRange = artifact.getVersionRange();
    
                                            version = versionRange.matchVersion(versions);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 36.7K bytes
    - Viewed (0)
Back to top