- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for unmodifiableCollection (0.8 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return unmodifiableCollectionSubclass(output); } <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass( Collection<E> collection) { return Collections.unmodifiableCollection(collection); } @Override public void clear() { // Clear each collection, to make previously returned collections empty. for (Collection<V> collection : map.values()) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0)