Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for unmodifiableList (0.21 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         */
        public List<ModelProblem> getProblems() {
            if (result == null) {
                return Collections.emptyList();
            }
            return Collections.unmodifiableList(result.getProblems());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      fun queuedCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(readyAsyncCalls.map { it.call })
        }
    
      /** Returns a snapshot of the calls currently being executed. */
      fun runningCalls(): List<Call> =
        this.withLock {
          return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call })
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java

        }
    
        public List<Dependency> getManagedDependencies() {
            DependencyManagement depMngt = project.getModel().getDependencyManagement();
            return (depMngt != null) ? Collections.unmodifiableList(depMngt.getDependencies()) : Collections.emptyList();
        }
    
        // TODO: this is duplicate of PomArtifactHandlerProvider provided one
        static class PomArtifactHandler implements ArtifactHandler {
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

     */
    public class ProjectBuildList implements Iterable<ProjectSegment> {
        private final List<ProjectSegment> items;
    
        public ProjectBuildList(List<ProjectSegment> items) {
            this.items = Collections.unmodifiableList(items);
        }
    
        // TODO Optimize; or maybe just rewrite the whole way aggregating mojos are being run.
        /**
         * Returns aProjectBuildList that contains only items for the specified taskSegment
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/TestLogHandler.java

       * an ImmutableList)
       */
      public synchronized List<LogRecord> getStoredLogRecords() {
        List<LogRecord> result = new ArrayList<>(list);
        return Collections.unmodifiableList(result);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

       * an ImmutableList)
       */
      public synchronized List<LogRecord> getStoredLogRecords() {
        List<LogRecord> result = new ArrayList<>(list);
        return Collections.unmodifiableList(result);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            return this;
        }
    
        public List<MavenProject> getTopologicallySortedProjects() {
            return null == topologicallySortedProjects
                    ? Collections.emptyList()
                    : Collections.unmodifiableList(topologicallySortedProjects);
        }
    
        public DependencyResolutionResult getDependencyResolutionResult() {
            return dependencyResolutionResult;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java

                    defaultBindings.put(pluginBindings[i], new LifecyclePhase(pluginBindings[i + 1]));
                }
            }
    
            this.lifecycle = new Lifecycle(
                    id,
                    Collections.unmodifiableList(Arrays.asList(phases)),
                    defaultBindings == null ? null : Collections.unmodifiableMap(defaultBindings));
        }
    
        @Override
        public Lifecycle get() {
            return lifecycle;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractNode.java

            List<Node> children =
                    getChildren().stream().filter(filter).map(n -> n.filter(filter)).collect(Collectors.toList());
            return new WrapperNode(this, Collections.unmodifiableList(children));
        }
    
        @Override
        public String asString() {
            StringBuilder sb = new StringBuilder();
    
            DependencyNode node = getDependencyNode();
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

            }
        }
    
        public List<Exception> getResolutionErrors(Dependency dependency) {
            List<Exception> errors = resolutionErrors.get(dependency);
            return (errors != null) ? Collections.unmodifiableList(errors) : Collections.emptyList();
        }
    
        public void setResolutionErrors(Dependency dependency, List<Exception> errors) {
            dependencies.add(dependency);
            unresolvedDependencies.add(dependency);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
Back to top