Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for unmodifiableList (0.09 sec)

  1. compat/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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. compat/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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         * @deprecated Use {@link #getRequiredActiveProfileIds()} and {@link #getOptionalActiveProfileIds()} instead.
         */
        @Deprecated
        public List<String> getActiveProfiles() {
            return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> pa.active)));
        }
    
        /**
         * Mimics the pre-Maven 4 "inactive profiles" list.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         * instead.
         */
        @Deprecated
        public List<String> getSelectedProjects() {
            return Collections.unmodifiableList(new ArrayList<>(getProjectSelectors(pa -> pa.active)));
        }
    
        /**
         * Mimics the pre-Maven 4 "excluded projects" list.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    List<String> innerList = new ArrayList<>();
                    Collections.addAll(innerList, elements);
                    return unmodifiableList(innerList);
                  }
                })
            .named("unmodifiableList/ArrayList")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ANY)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. impl/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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                    List<String> innerList = new ArrayList<>();
                    Collections.addAll(innerList, elements);
                    return unmodifiableList(innerList);
                  }
                })
            .named("unmodifiableList/ArrayList")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ANY)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. impl/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<>(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Predicate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top