Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Integer (0.18 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                String s = policy.substring(UPDATE_POLICY_INTERVAL.length() + 1);
                return Integer.parseInt(s);
            } else {
                return Integer.MAX_VALUE;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            addZeroTokens(valueTokens, 3);
            addZeroTokens(rangeValueTokens, 3);
    
            for (int i = 0; i < 3; i++) {
                int x = Integer.parseInt(valueTokens.get(i));
                int y = Integer.parseInt(rangeValueTokens.get(i));
                if (x < y) {
                    return -1;
                } else if (x > y) {
                    return 1;
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. 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 indices the list of integers for the indices
         * @return the merged location
         */
        public static InputLocation merge(InputLocation target, InputLocation source, Collection<Integer> indices) {
            if (source == null) {
                return target;
            } else if (target == null) {
                return source;
    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)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

             * is interested in, i.e. all phases up to and including the specified phase.
             */
    
            Map<String, Map<Integer, List<MojoExecution>>> mappings = new LinkedHashMap<>();
    
            for (String phase : lifecycle.getPhases()) {
                Map<Integer, List<MojoExecution>> phaseBindings = new TreeMap<>();
    
                mappings.put(phase, phaseBindings);
    
                if (phase.equals(lifecyclePhase)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

     */
    public class DefaultProjectDependencyGraph implements ProjectDependencyGraph {
    
        private final ProjectSorter sorter;
    
        private final List<MavenProject> allProjects;
    
        private final Map<MavenProject, Integer> order;
    
        private final Map<String, MavenProject> projects;
    
        /**
         * Creates a new project dependency graph based on the specified projects.
         *
    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)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java

     */
    // TODO Kristian wonders if this class really is necessary and if it overlaps other concepts.
    public final class ProjectIndex {
    
        private final Map<String, MavenProject> projects;
    
        private final Map<String, Integer> indices;
    
        public ProjectIndex(List<MavenProject> projects) {
            this.projects = new HashMap<>(projects.size() * 2);
            this.indices = new HashMap<>(projects.size() * 2);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public static final IntItem ZERO = new IntItem();
    
            private IntItem() {
                this.value = 0;
            }
    
            IntItem(String str) {
                this.value = Integer.parseInt(str);
            }
    
            @Override
            public int getType() {
                return INT_ITEM;
            }
    
            @Override
            public boolean isNull() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        @Inject
        private PlexusContainer container;
    
        @Inject
        private LegacySupport legacySupport;
    
        private final Executor executor;
    
        public DefaultArtifactResolver() {
            int threads = Integer.getInteger("maven.artifact.threads", 5);
            if (threads <= 1) {
                executor = Runnable::run;
            } else {
                executor = new ThreadPoolExecutor(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // the defined parallism, while making sure the pool will not
                // be exhausted
                //
                return new ThreadPoolExecutor(
                        parallelism, Integer.MAX_VALUE, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>()) {
                    final AtomicInteger parked = new AtomicInteger();
    
                    @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java

        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
            if (bn instanceof Integer) {
                this.buildNumber = (Integer) bn;
            } else if (bn instanceof String) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top