Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for unmodifiableList (0.56 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return Collections.unmodifiableList(new MappedList<>(
                    ((DefaultProject) project).getProject().getRemoteProjectRepositories(), session::getRemoteRepository));
        }
    
        @Override
        public List<RemoteRepository> getRemotePluginRepositories(Project project) {
            return Collections.unmodifiableList(new MappedList<>(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

            }
    
            return Collections.unmodifiableList(new ArrayList<>(versions));
        }
    
        public void setReaders(Collection<WorkspaceReader> readers) {
            requireNonNull(readers, "readers");
            // skip possible null entries
            this.readers = Collections.unmodifiableList(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. maven-api-impl/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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                }
    
                @Override
                public List<Lifecycle> getLifecycles() {
                    try {
                        return Collections.unmodifiableList(new ArrayList<>(delegate.getMojoDescriptor()
                                .getPluginDescriptor()
                                .getLifecycleMappings()
                                .values()));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

              if (cookies == null) cookies = mutableListOf()
              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            if (!ArtifactIdUtils.equalsVersionlessId(pomArtifact, projectArtifact)) {
                result.add(session.getArtifact(projectArtifact));
            }
            return Collections.unmodifiableList(result);
        }
    
        @Nonnull
        @Override
        public Packaging getPackaging() {
            return packaging;
        }
    
        @Nonnull
        @Override
        public Model getModel() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

            this.projectProperties = unmodifiable(projectProperties);
    
            return this;
        }
    
        private static List<String> unmodifiable(List<String> list) {
            return list != null ? Collections.unmodifiableList(list) : Collections.emptyList();
        }
    
        private static Map<String, String> unmodifiable(Map<String, String> map) {
            return map != null ? Collections.unmodifiableMap(map) : Collections.emptyMap();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        new IteratorTester<T>(
            list.size() * 2 + 2, UNMODIFIABLE, list, IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<T> newTargetIterator() {
            Iterator<T> iterator = Collections.unmodifiableList(list).iterator();
            return Iterators.peekingIterator(iterator);
          }
        }.test();
      }
    
      public void testPeekingIteratorBehavesLikeIteratorOnEmptyIterable() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top