- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 877 for Collections2 (0.06 seconds)
-
guava/src/com/google/common/collect/Maps.java
Map<K, ? extends V> map) { if (map instanceof SortedMap) { return Collections.unmodifiableSortedMap((SortedMap<K, ? extends V>) map); } else { return Collections.unmodifiableMap(map); } } private static class MapDifferenceImpl<K extends @Nullable Object, V extends @Nullable Object>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
* list is threadsafe if the supplied list and function are. * * <p>If only a {@code Collection} or {@code Iterable} input is available, use {@link * Collections2#transform} or {@link Iterables#transform}. * * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList},Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* elements. * * <p>The collections created by {@link #createCollection()} may or may not allow duplicates. If the * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will * replace an existing pair with the same key and value, if such a pair is present. With collections * like {@link List} that allow duplicates, the collection will keep the existing key-value pairsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Aug 12 15:51:57 GMT 2025 - 46.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* elements. * * <p>The collections created by {@link #createCollection()} may or may not allow duplicates. If the * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will * replace an existing pair with the same key and value, if such a pair is present. With collections * like {@link List} that allow duplicates, the collection will keep the existing key-value pairsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
return Collections.unmodifiableSortedSet((SortedSet<E>) collection); } else if (collection instanceof Set) { return Collections.unmodifiableSet((Set<E>) collection); } else if (collection instanceof List) { return Collections.unmodifiableList((List<E>) collection); } else { return Collections.unmodifiableCollection(collection); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimaps.java
return Collections.unmodifiableSortedSet((SortedSet<E>) collection); } else if (collection instanceof Set) { return Collections.unmodifiableSet((Set<E>) collection); } else if (collection instanceof List) { return Collections.unmodifiableList((List<E>) collection); } else { return Collections.unmodifiableCollection(collection); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
}; } }; } // See Collections.CheckedMap.CheckedEntrySet for details on attacks. @Override public @Nullable Object[] toArray() { synchronized (mutex) { /* * toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because it can * be used with collections that may contain null. This collection never contains nulls, soCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
}; } }; } // See Collections.CheckedMap.CheckedEntrySet for details on attacks. @Override public @Nullable Object[] toArray() { synchronized (mutex) { /* * toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because it can * be used with collections that may contain null. This collection never contains nulls, soCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* @throws IllegalArgumentException if {@code map} is not empty * @deprecated Use {@link Collections#newSetFromMap} instead. */ @InlineMe(replacement = "Collections.newSetFromMap(map)", imports = "java.util.Collections") @Deprecated public static <E extends @Nullable Object> Set<E> newSetFromMap( Map<E, Boolean> map) { return Collections.newSetFromMap(map); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* @throws IllegalArgumentException if {@code map} is not empty * @deprecated Use {@link Collections#newSetFromMap} instead. */ @InlineMe(replacement = "Collections.newSetFromMap(map)", imports = "java.util.Collections") @Deprecated public static <E extends @Nullable Object> Set<E> newSetFromMap( Map<E, Boolean> map) { return Collections.newSetFromMap(map); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0)