- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 68 for unmodifiableList (0.13 seconds)
-
android/guava/src/com/google/common/collect/TopKSelector.java
import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT; import static java.lang.Math.max; import static java.util.Arrays.asList; import static java.util.Arrays.sort; import static java.util.Collections.unmodifiableList; import com.google.common.annotations.GwtCompatible; import com.google.common.math.IntMath; import java.math.RoundingMode; import java.util.Arrays; import java.util.Comparator; import java.util.Iterator;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
*/ package com.google.common.collect.testing.google; import static com.google.common.collect.Maps.immutableEntry; import static java.util.Collections.singleton; import static java.util.Collections.unmodifiableList; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue; import static junit.framework.TestCase.fail; import com.google.common.annotations.GwtCompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
impl/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)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
*/ package com.google.common.collect.testing.google; import static com.google.common.collect.Maps.immutableEntry; import static java.util.Collections.singleton; import static java.util.Collections.unmodifiableList; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue; import static junit.framework.TestCase.fail; import com.google.common.annotations.GwtCompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
impl/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<>();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
if (!ArtifactIdUtils.equalsVersionlessId(pomArtifact, projectArtifact)) { result.add(session.getArtifact(ProducedArtifact.class, projectArtifact)); } return Collections.unmodifiableList(result); } @Nonnull @Override public Packaging getPackaging() { return packaging; } @Nonnull @Override public Model getModel() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 8.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java
} children.add(new ResolutionNode(a, remoteRepositories, this)); } children = Collections.unmodifiableList(children); } else { children = Collections.emptyList(); } trail = null; } /** * @return {@link List} < {@link String} > with artifact idsCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.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 - 7.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
invoker.populateRequest(context, new DefaultLookup(container), mer); mer = container.lookup(MavenExecutionRequestPopulator.class).populateDefaults(mer); return Collections.unmodifiableList(container .lookup(BootstrapCoreExtensionManager.class) .loadCoreExtensions(mer, providedArtifacts, extensions)); } finally { if (settingsCleaner != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
this.sortedProjects = sortedProjectLabels.stream() .map(id -> projectMap.get(id)) .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList)); } @SuppressWarnings("checkstyle:parameternumber") private void addEdge( Map<String, MavenProject> projectMap, Map<String, Map<String, Vertex>> vertexMap,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 10.3K bytes - Click Count (0)