Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for index (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

            List<MavenProject> sorted = this.sorter.getSortedProjects();
            for (int index = 0; index < sorted.size(); index++) {
                MavenProject project = sorted.get(index);
                String id = ProjectSorter.getId(project);
                this.projects.put(id, project);
                this.order.put(project, index);
            }
        }
    
        /**
         * @since 3.5.0
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return the one-based index of the line containing the problem or a non-positive value if unknown
         */
        int getLineNumber();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            if (expression.equals(expr)) {
                int index = expr.indexOf("${");
                if (index >= 0) {
                    int lastIndex = expr.indexOf('}', index);
                    if (lastIndex >= 0) {
                        String retVal = expr.substring(0, index);
    
                        if ((index > 0) && (expr.charAt(index - 1) == '$')) {
                            retVal += expr.substring(index + 1, lastIndex + 1);
                        } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            } else {
                locations = new LinkedHashMap<>();
                for (int index : indices) {
                    InputLocation location;
                    if (index < 0) {
                        location = sourceLocations.get(~index);
                    } else {
                        location = targetLocations.get(index);
                    }
                    locations.put(locations.size(), location);
                }
    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)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                        ProjectIndex projectIndex = session.getSession()
                                .getData()
                                .computeIfAbsent(PROJECT_INDEX, () -> new ProjectIndex(session.getProjects()));
    
                        int index = projectIndex.getIndices().get(projectId);
    
                        MavenProject forkedProject = projectIndex.getProjects().get(projectId);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @param message The detail message of the problem, may be {@code null}.
         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                int index1 = process.indexOf(')');
                int index2 = process.indexOf(']');
    
                int index = index2;
                if (index2 < 0 || index1 < index2) {
                    if (index1 >= 0) {
                        index = index1;
                    }
                }
    
                if (index < 0) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  8. maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
        int getLineNumber();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. 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)
  10. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    } else {
                        // Now we expect the host
                        int index = retValue.indexOf('/');
                        if (index >= 0) {
                            retValue = retValue.substring(index + 1);
                        }
    
                        // special case: if there is a windows drive letter, then keep the original return value
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
Back to top