- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for createCollection (0.26 sec)
-
guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
*/ protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) { super(map); } @Override abstract SortedSet<V> createCollection(); @Override SortedSet<V> createUnmodifiableEmptyCollection() { return unmodifiableCollectionSubclass(createCollection()); } @Override <E extends @Nullable Object> SortedSet<E> unmodifiableCollectionSubclass( Collection<E> collection) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
*/ protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) { super(map); } @Override abstract SortedSet<V> createCollection(); @Override SortedSet<V> createUnmodifiableEmptyCollection() { return unmodifiableCollectionSubclass(createCollection()); } @Override <E extends @Nullable Object> SortedSet<E> unmodifiableCollectionSubclass( Collection<E> collection) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* <p>To implement a multimap, a subclass must define the method {@link #createCollection()}, which * creates an empty collection of values for a key. * * <p>The multimap constructor takes a map that has a single entry for each distinct key. When you * insert a key-value pair with a key that isn't already in the multimap, {@code * AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 46.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
return new SampleElements<>( mapEntry(sampleKeys.e0(), createCollection(sampleValues.e0())), mapEntry(sampleKeys.e1(), createCollection(sampleValues.e1())), mapEntry(sampleKeys.e2(), createCollection(sampleValues.e2())), mapEntry(sampleKeys.e3(), createCollection(sampleValues.e3())), mapEntry(sampleKeys.e4(), createCollection(sampleValues.e4()))); } @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 26.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractListMultimap.java
/** * Basic implementation of the {@link ListMultimap} interface. It's a wrapper around {@link * AbstractMapBasedMultimap} that converts the returned collections into {@code Lists}. The {@link * #createCollection} method must return a {@code List}. * * @author Jared Levy * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
/** * Basic implementation of the {@link ListMultimap} interface. It's a wrapper around {@link * AbstractMapBasedMultimap} that converts the returned collections into {@code Lists}. The {@link * #createCollection} method must return a {@code List}. * * @author Jared Levy * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
K[] createKeyArray(int length); V[] createValueArray(int length); SampleElements<K> sampleKeys(); SampleElements<V> sampleValues(); Collection<V> createCollection(Iterable<? extends V> values);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultimap.java
*/ @Override SortedSet<V> createCollection() { return new TreeSet<>(valueComparator); } @Override Collection<V> createCollection(@ParametricNullness K key) { if (key == null) { int unused = keyComparator().compare(key, key); } return super.createCollection(key); } /** * Returns the comparator that orders the multimap keys.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* * <p>Creates an empty {@code LinkedHashSet} for a collection of values for one key. * * @return a new {@code LinkedHashSet} containing a collection of values for one key */ @Override Set<V> createCollection() { return Platform.newLinkedHashSetWithExpectedSize(valueSetCapacity); } /** * {@inheritDoc} * * <p>Creates a decorated insertion-ordered set that also keeps track of the order in which
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
/** * Basic implementation of the {@link SetMultimap} interface. It's a wrapper around {@link * AbstractMapBasedMultimap} that converts the returned collections into {@code Sets}. The {@link * #createCollection} method must return a {@code Set}. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class AbstractSetMultimap<K extends @Nullable Object, V extends @Nullable Object>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 21:08:00 GMT 2021 - 4.8K bytes - Viewed (0)