Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for unmodifiableList (0.07 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.2K 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. 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:
     *
     * {@snippet :
     * 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 =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K 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:
     *
     * {@snippet :
     * 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 =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java

            return pluginGroups;
        }
    
        @Override
        public DefaultPluginPrefixRequest setPluginGroups(List<String> pluginGroups) {
            if (pluginGroups != null) {
                this.pluginGroups = Collections.unmodifiableList(pluginGroups);
            } else {
                this.pluginGroups = Collections.emptyList();
            }
    
            return this;
        }
    
        @Override
        public Model getPom() {
            return pom;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         */
        private final List<ProjectActivationSettings> activations = new ArrayList<>();
    
        public List<ProjectActivationSettings> getActivations() {
            return Collections.unmodifiableList(activations);
        }
    
        /**
         * Adds a project activation to the request.
         * @param selector The selector of the project.
         * @param active Should the project be activated?
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/JoinerTest.java

      private static final List<Integer> OVERREPORTING_SIZE_LIST;
    
      static {
        List<Integer> collection123 = Arrays.asList(1, 2, 3);
        UNDERREPORTING_SIZE_LIST = unmodifiableList(new MisleadingSizeList<>(collection123, -1));
        OVERREPORTING_SIZE_LIST = unmodifiableList(new MisleadingSizeList<>(collection123, 1));
      }
    
      /*
       * c.g.c.collect.testing.Helpers.misleadingSizeList has a broken Iterator, so we can't use it. (I
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. impl/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(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top