- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for unmodifiableList (0.19 sec)
-
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: * * <pre>{@code * 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 =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
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: * * <pre>{@code * 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 =
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
return Collections.unmodifiableList(new MappedList<>( ((DefaultProject) project).getProject().getRemoteProjectRepositories(), session::getRemoteRepository)); } @Override public List<RemoteRepository> getRemotePluginRepositories(Project project) { return Collections.unmodifiableList(new MappedList<>(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 7.3K bytes - Viewed (0) -
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) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractNode.java
List<Node> children = getChildren().stream().filter(filter).map(n -> n.filter(filter)).collect(Collectors.toList()); return new WrapperNode(this, Collections.unmodifiableList(children)); } @Override public String asString() { StringBuilder sb = new StringBuilder(); DependencyNode node = getDependencyNode();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 2.4K bytes - Viewed (0) -
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(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
*/ public List<ModelProblem> getProblems() { if (result == null) { return Collections.emptyList(); } return Collections.unmodifiableList(result.getProblems()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
fun queuedCalls(): List<Call> = this.withLock { return Collections.unmodifiableList(readyAsyncCalls.map { it.call }) } /** Returns a snapshot of the calls currently being executed. */ fun runningCalls(): List<Call> = this.withLock { return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call }) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java
} public List<Dependency> getManagedDependencies() { DependencyManagement depMngt = project.getModel().getDependencyManagement(); return (depMngt != null) ? Collections.unmodifiableList(depMngt.getDependencies()) : Collections.emptyList(); } // TODO: this is duplicate of PomArtifactHandlerProvider provided one static class PomArtifactHandler implements ArtifactHandler { @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 2.9K bytes - Viewed (0) -
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)