- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for unmodifiableCollection (0.11 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
return Collections.unmodifiableCollection(attached); } @Override public Collection<ProducedArtifact> getAllArtifacts(Project project) { ArrayList<ProducedArtifact> result = new ArrayList<>(2); result.addAll(project.getArtifacts()); result.addAll(getAttachedArtifacts(project)); return Collections.unmodifiableCollection(result); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} @Override public Collection<ArtifactMetadata> getMetadataList() { if (metadataMap == null) { return Collections.emptyList(); } return Collections.unmodifiableCollection(metadataMap.values()); } // ---------------------------------------------------------------------- // Object overrides // ----------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* * <ul> * <li><b>Shallow immutability.</b> Elements can never be added, removed or replaced in this * collection. This is a stronger guarantee than that of {@link * Collections#unmodifiableCollection}, whose contents change whenever the wrapped collection * is modified. * <li><b>Null-hostility.</b> This collection will never contain a null element.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
return Collections.unmodifiableMap(Maps.transformValues(super.rowMap(), wrapper)); } @Override public Collection<V> values() { return Collections.unmodifiableCollection(super.values()); } private static final long serialVersionUID = 0; } /** * Returns an unmodifiable view of the specified row-sorted table. This method allows modules to
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
} else if (collection instanceof List) { return Collections.unmodifiableList((List<E>) collection); } else { return Collections.unmodifiableCollection(collection); } } @Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { if (collection instanceof List) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 86.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
private static class GenericClass<T> { private interface Base {} } private static IterableSubject makeUnmodifiable(Collection<?> actual) { return assertThat(Collections.<Object>unmodifiableCollection(actual)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
private static class GenericClass<T> { private interface Base {} } private static IterableSubject makeUnmodifiable(Collection<?> actual) { return assertThat(Collections.<Object>unmodifiableCollection(actual)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0)