Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for unmodifiableList (0.22 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

            return missingArtifacts != null && !missingArtifacts.isEmpty();
        }
    
        public List<Artifact> getMissingArtifacts() {
            return missingArtifacts == null ? Collections.emptyList() : Collections.unmodifiableList(missingArtifacts);
        }
    
        public ArtifactResolutionResult addMissingArtifact(Artifact artifact) {
            missingArtifacts = initList(missingArtifacts);
    
            missingArtifacts.add(artifact);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            return missingArtifacts != null && !missingArtifacts.isEmpty();
        }
    
        public List<Artifact> getMissingArtifacts() {
            return missingArtifacts == null ? Collections.emptyList() : Collections.unmodifiableList(missingArtifacts);
        }
    
        public MetadataResolutionResult addMissingArtifact(Artifact artifact) {
            missingArtifacts = initList(missingArtifacts);
    
            missingArtifacts.add(artifact);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java

      private final List<E> delegate;
      @Nullable E forSerialization;
    
      RegularImmutableList(List<E> delegate) {
        // TODO(cpovirk): avoid redundant unmodifiableList wrapping
        this.delegate = unmodifiableList(delegate);
      }
    
      @Override
      List<E> delegateList() {
        return delegate;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * <pre>{@code
     * List<String> expectedElements =
     *     Arrays.asList("a", "b", "c", "d", "e");
     * List<String> actualElements =
     *     Collections.unmodifiableList(
     *         Arrays.asList("a", "b", "c", "d", "e"));
     * IteratorTester<String> iteratorTester =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
     * Collections.unmodifiableList}'s iterator:
     *
     * <pre>{@code
     * List<String> expectedElements =
     *     Arrays.asList("a", "b", "c", "d", "e");
     * List<String> actualElements =
     *     Collections.unmodifiableList(
     *         Arrays.asList("a", "b", "c", "d", "e"));
     * IteratorTester<String> iteratorTester =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Lists.newArrayListWithCapacity;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableCollection;
    import com.google.common.collect.Lists;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java

            return pluginGroups;
        }
    
        public DefaultPluginPrefixRequest setPluginGroups(List<String> pluginGroups) {
            if (pluginGroups != null) {
                this.pluginGroups = Collections.unmodifiableList(pluginGroups);
            } else {
                this.pluginGroups = Collections.emptyList();
            }
    
            return this;
        }
    
        public Model getPom() {
            return pom;
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            if (project.getRemoteArtifactRepositories() != null) {
                setRemoteArtifactRepositories(Collections.unmodifiableList(project.getRemoteArtifactRepositories()));
            }
    
            if (project.getPluginArtifactRepositories() != null) {
                setPluginArtifactRepositories(Collections.unmodifiableList(project.getPluginArtifactRepositories()));
            }
    
            if (project.getActiveProfiles() != null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  9. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top