- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for createCollection (0.15 sec)
-
android/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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K 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) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.5K bytes - Viewed (0) -
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>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K 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>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
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.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0) -
android/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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.5K 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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
} @Override public SampleElements<String> sampleValues() { return new SampleElements<>("January", "February", "March", "April", "May"); } @Override public Collection<String> createCollection(Iterable<? extends String> values) { return copyToSet(values); } @Override public final SetMultimap<String, String> create(Object... entries) { @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
@Override public SampleElements<String> sampleValues() { return new SampleElements<>("january", "february", "march", "april", "may"); } @Override public Collection<String> createCollection(Iterable<? extends String> values) { return Lists.newArrayList(values); } @Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
} @Override public SampleElements<String> sampleValues() { return new SampleElements<>("January", "February", "March", "April", "May"); } @Override public Collection<String> createCollection(Iterable<? extends String> values) { return copyToList(values); } @Override public final ListMultimap<String, String> create(Object... entries) { @SuppressWarnings("unchecked")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0)