- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for unmodifiableList (0.19 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java
private final List<E> delegate; @Nullable E forSerialization; RegularImmutableList(List<E> delegate) { // TODO(cpovirk): avoid redundant unmodifiableList wrapping this.delegate = unmodifiableList(delegate); } @Override List<E> delegateList() { return delegate; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.4K bytes - Viewed (0) -
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) -
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;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 3.8K 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) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
/** Returns an immutable copy of this. */ internal fun <T> List<T>.toImmutableList(): List<T> { return Collections.unmodifiableList(toMutableList()) } /** Returns an immutable list containing [elements]. */ @SafeVarargs internal fun <T> immutableListOf(vararg elements: T): List<T> { return Collections.unmodifiableList(listOf(*elements.clone())) } /** Closes this, ignoring any checked exceptions. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K 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)