Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 68 for unmodifiableList (0.1 seconds)

  1. 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)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. 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)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. 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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

    import static com.google.common.collect.BoundType.CLOSED;
    import static com.google.common.collect.BoundType.OPEN;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractListMultimap.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Collections.emptyList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.IteratorTester;
    import java.util.Collection;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

        }
    
        @Override
        public List<MavenProject> getTopologicallySortedProjects() {
            return null == topologicallySortedProjects
                    ? Collections.emptyList()
                    : Collections.unmodifiableList(topologicallySortedProjects);
        }
    
        @Override
        public DependencyResolutionResult getDependencyResolutionResult() {
            return dependencyResolutionResult;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. impl/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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  9. android/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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

         */
        public DefaultProfileActivationContext setActiveProfileIds(List<String> activeProfileIds) {
            if (activeProfileIds != null) {
                this.activeProfileIds = Collections.unmodifiableList(activeProfileIds);
            } else {
                this.activeProfileIds = Collections.emptyList();
            }
    
            return this;
        }
    
        @Override
        public List<String> getInactiveProfileIds() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top