Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for unmodifiableList (0.19 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

            return repositories;
        }
    
        public DefaultPluginVersionRequest setRepositories(List<RemoteRepository> repositories) {
            if (repositories != null) {
                this.repositories = Collections.unmodifiableList(repositories);
            } else {
                this.repositories = Collections.emptyList();
            }
    
            return this;
        }
    
        public RepositorySystemSession getRepositorySession() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                }
    
                @Override
                public List<Lifecycle> getLifecycles() {
                    try {
                        return Collections.unmodifiableList(new ArrayList<>(delegate.getMojoDescriptor()
                                .getPluginDescriptor()
                                .getLifecycleMappings()
                                .values()));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Arrays.asList;
    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;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Arrays.asList;
    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;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");
    
            assertUniqueKey(key);
    
            CacheRecord record = new CacheRecord(Collections.unmodifiableList(new ArrayList<>(pluginArtifacts)));
    
            cache.put(key, record);
    
            return record;
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

              if (cookies == null) cookies = mutableListOf()
              cookies.addAll(decodeHeaderAsJavaNetCookies(url, header))
            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            if (!ArtifactIdUtils.equalsVersionlessId(pomArtifact, projectArtifact)) {
                result.add(session.getArtifact(projectArtifact));
            }
            return Collections.unmodifiableList(result);
        }
    
        @Nonnull
        @Override
        public Packaging getPackaging() {
            return packaging;
        }
    
        @Nonnull
        @Override
        public Model getModel() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

        public DefaultProjectDependencyGraph(Collection<MavenProject> allProjects, Collection<MavenProject> projects)
                throws CycleDetectedException, DuplicateProjectException {
            this.allProjects = Collections.unmodifiableList(new ArrayList<>(allProjects));
            this.sorter = new ProjectSorter(projects);
            this.order = new HashMap<>();
            this.projects = new HashMap<>();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

            this.projectProperties = unmodifiable(projectProperties);
    
            return this;
        }
    
        private static List<String> unmodifiable(List<String> list) {
            return list != null ? Collections.unmodifiableList(list) : Collections.emptyList();
        }
    
        private static Map<String, String> unmodifiable(Map<String, String> map) {
            return map != null ? Collections.unmodifiableMap(map) : Collections.emptyMap();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            Iterator entries = map.entrySet().iterator();
            while (entries.hasNext()) {
                Map.Entry entry = (Map.Entry) entries.next();
                entry.setValue(Collections.unmodifiableList((List)
                        entry.getValue()));
            }
            return (headerFields = Collections.unmodifiableMap(map));
        }
    
        public Map getHeaderFields() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
Back to top