Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 68 for unmodifiableList (0.09 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            this.versionRangeResolver = versionRangeResolver;
            this.remoteRepositoryManager = remoteRepositoryManager;
            this.repositories = repositories;
            this.externalRepositories = Collections.unmodifiableList(new ArrayList<>(repositories));
    
            this.repositoryIds = new HashSet<>();
        }
    
        private DefaultModelResolver(DefaultModelResolver original) {
            this.session = original.session;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                if (!artifacts.isEmpty()) {
                    extensions.add(createExtension(extension, artifacts));
                }
            }
    
            return Collections.unmodifiableList(extensions);
        }
    
        private CoreExtensionEntry createExtension(CoreExtension extension, List<Artifact> artifacts) throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
                return versions;
            }
            return getAllProjects()
                    .getOrDefault(artifact.getGroupId(), Collections.emptyMap())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/LinkedListMultimap.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Objects.requireNonNull;
    
    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: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

    import static java.util.Arrays.asList;
    import static java.util.Arrays.sort;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.sort;
    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.annotations.VisibleForTesting;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

            this.trace = trace;
            this.resolver = resolver;
            this.remoteRepositoryManager = remoteRepositoryManager;
            this.pomRepositories = new ArrayList<>();
            this.externalRepositories = Collections.unmodifiableList(new ArrayList<>(repositories));
            this.repositories = new ArrayList<>();
            this.repositories.addAll(externalRepositories);
            this.repositoryMerging = repositoryMerging;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                if (!artifacts.isEmpty()) {
                    extensions.add(new LoadedCoreExtension(extension, createExtension(extension, artifacts)));
                }
            }
    
            return Collections.unmodifiableList(extensions);
        }
    
        private CoreExtensionEntry createExtension(CoreExtension extension, List<Artifact> artifacts) throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        }
    
        @Override
        public void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories) {
            if (mirroredRepositories != null) {
                this.mirroredRepositories = Collections.unmodifiableList(mirroredRepositories);
            } else {
                this.mirroredRepositories = Collections.emptyList();
            }
        }
    
        @Override
        public boolean isBlocked() {
            return blocked;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    /** Returns an immutable wrap of this. */
    @Suppress("NOTHING_TO_INLINE")
    internal inline fun <T> List<T>.unmodifiable(): List<T> = Collections.unmodifiableList(this)
    
    /** Returns an immutable wrap of this. */
    @Suppress("NOTHING_TO_INLINE")
    internal inline fun <T> Set<T>.unmodifiable(): Set<T> = Collections.unmodifiableSet(this)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 10.2K bytes
    - Click Count (1)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            List<Restriction> restrictions;
    
            if (r1.isEmpty() || r2.isEmpty()) {
                restrictions = Collections.emptyList();
            } else {
                restrictions = Collections.unmodifiableList(intersection(r1, r2));
            }
    
            ArtifactVersion version = null;
            if (!restrictions.isEmpty()) {
                for (Restriction r : restrictions) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
Back to Top