Home
last modified time | relevance | path

Searched refs:ListMultimap (Results 1 – 25 of 52) sorted by relevance

123

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DListMultimapTestSuiteBuilder.java19 import com.google.common.collect.ListMultimap;
46 MultimapTestSuiteBuilder<K, V, ListMultimap<K, V>> {
69 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapGetTestSuite()
81 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>>> parentBuilder) { in computeMultimapAsMapGetTestSuite()
109 extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, ListMultimap<K, V>>
112 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>> multimapGenerator) { in MultimapGetGenerator()
124 extends MultimapTestSuiteBuilder.MultimapAsMapGetGenerator<K, V, ListMultimap<K, V>>
127 OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>> multimapGenerator) { in MultimapAsMapGetGenerator()
DListMultimapEqualsTester.java20 import com.google.common.collect.ListMultimap;
34 ListMultimap<K, V> multimap1 = getSubjectGenerator().create( in testOrderingAffectsEqualsComparisons()
38 ListMultimap<K, V> multimap2 = getSubjectGenerator().create( in testOrderingAffectsEqualsComparisons()
DTestStringListMultimapGenerator.java20 import com.google.common.collect.ListMultimap;
64 public final ListMultimap<String, String> create(Object... entries) { in create()
76 protected abstract ListMultimap<String, String> create( in create()
DTestListMultimapGenerator.java20 import com.google.common.collect.ListMultimap;
29 extends TestMultimapGenerator<K, V, ListMultimap<K, V>> {
DAbstractListMultimapTester.java20 import com.google.common.collect.ListMultimap;
32 extends AbstractMultimapTester<K, V, ListMultimap<K, V>> {
/external/guava/guava/src/com/google/common/collect/
DFilteredKeyListMultimap.java33 implements ListMultimap<K, V> {
34 FilteredKeyListMultimap(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) { in FilteredKeyListMultimap()
39 public ListMultimap<K, V> unfiltered() { in unfiltered()
40 return (ListMultimap<K, V>) super.unfiltered(); in unfiltered()
DMultimaps.java192 public static <K, V> ListMultimap<K, V> newListMultimap( in newListMultimap()
592 extends UnmodifiableMultimap<K, V> implements ListMultimap<K, V> {
593 UnmodifiableListMultimap(ListMultimap<K, V> delegate) { in UnmodifiableListMultimap()
596 @Override public ListMultimap<K, V> delegate() { in delegate()
597 return (ListMultimap<K, V>) super.delegate(); in delegate()
772 public static <K, V> ListMultimap<K, V> synchronizedListMultimap( in synchronizedListMultimap()
773 ListMultimap<K, V> multimap) { in synchronizedListMultimap()
795 public static <K, V> ListMultimap<K, V> unmodifiableListMultimap( in unmodifiableListMultimap()
796 ListMultimap<K, V> delegate) { in unmodifiableListMultimap()
810 @Deprecated public static <K, V> ListMultimap<K, V> unmodifiableListMultimap( in unmodifiableListMultimap()
[all …]
DForwardingListMultimap.java36 extends ForwardingMultimap<K, V> implements ListMultimap<K, V> {
41 @Override protected abstract ListMultimap<K, V> delegate(); in delegate()
DMultimapBuilder.java303 public <K extends K0, V> ListMultimap<K, V> build() {
317 public <K extends K0, V> ListMultimap<K, V> build() {
445 public abstract <K extends K0, V extends V0> ListMultimap<K, V> build();
448 public <K extends K0, V extends V0> ListMultimap<K, V> build(
450 return (ListMultimap<K, V>) super.build(multimap);
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingListMultimapTest.java34 final ListMultimap<String, Boolean> multimap = in setUp()
35 createProxyInstance(ListMultimap.class); in setUp()
37 @Override protected ListMultimap<String, Boolean> delegate() { in setUp()
DMultimapsCollectionTest.java244 protected ListMultimap<String, String> create(Entry<String, String>[] entries) { in suite()
245 ListMultimap<String, String> multimap = Multimaps.synchronizedListMultimap( in suite()
393 extends TransformedMultimapGenerator<ListMultimap<String, String>>
431 ListMultimap<String, String> transform(Multimap<String, String> multimap) { in transformSuite()
432 return Multimaps.transformValues((ListMultimap<String, String>) multimap, FUNCTION); in transformSuite()
445 ListMultimap<String, String> transform(Multimap<String, String> multimap) { in transformSuite()
447 (ListMultimap<String, String>) multimap, ENTRY_TRANSFORMER); in transformSuite()
534 extends TestFilteredMultimapGenerator<ListMultimap<String, Integer>>
538 public ListMultimap<String, Integer> create(Object... elements) { in create()
539 ListMultimap<String, Integer> multimap = LinkedListMultimap.create(); in create()
[all …]
DMultimapBuilderTest.java43 ListMultimap<String, Integer> a = MultimapBuilder.hashKeys().arrayListValues().build(); in testGenerics()
50 ListMultimap<String, Integer> a = in testGenerics_gwtCompatible()
60 ListMultimap<String, Integer> multimap = MultimapBuilder.treeKeys().arrayListValues().build(); in testTreeKeys()
66 ListMultimap<String, Integer> multimap = in testTreeKeys_gwtCompatible()
DMultimapsTest.java83 ListMultimap<String, Integer> mod = ArrayListMultimap.create(); in testUnmodifiableListMultimapShortCircuit()
84 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit()
91 immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); in testUnmodifiableListMultimapShortCircuit()
132 ListMultimap<String, Integer> delegate = ArrayListMultimap.create(); in testUnmodifiableArrayListMultimapRandomAccess()
135 ListMultimap<String, Integer> multimap in testUnmodifiableArrayListMultimapRandomAccess()
142 ListMultimap<String, Integer> delegate = LinkedListMultimap.create(); in testUnmodifiableLinkedListMultimapRandomAccess()
145 ListMultimap<String, Integer> multimap in testUnmodifiableLinkedListMultimapRandomAccess()
337 } else if (multimap instanceof ListMultimap) { in prepareUnmodifiableTests()
339 (ListMultimap<String, Integer>) multimap); in prepareUnmodifiableTests()
388 ListMultimap<String, Integer> listMultimap = ArrayListMultimap.create(); in testAsMap_listMultimap()
[all …]
DArrayListMultimapTest.java52 protected ListMultimap<String, String> create(Entry<String, String>[] entries) { in suite()
53 ListMultimap<String, String> multimap = ArrayListMultimap.create(); in suite()
75 protected ListMultimap<String, Integer> create() { in create()
119 ListMultimap<String, Integer> multimap = create(); in testSublistConcurrentModificationException()
DSynchronizedMultimapTest.java202 ListMultimap<String, Integer> multimap in testSynchronizedListMultimap()
228 ListMultimap<String, Integer> delegate = ArrayListMultimap.create(); in testSynchronizedArrayListMultimapRandomAccess()
231 ListMultimap<String, Integer> multimap in testSynchronizedArrayListMultimapRandomAccess()
238 ListMultimap<String, Integer> delegate = LinkedListMultimap.create(); in testSynchronizedLinkedListMultimapRandomAccess()
241 ListMultimap<String, Integer> multimap in testSynchronizedLinkedListMultimapRandomAccess()
DBenchmarkHelpers.java84 <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) { in create()
90 <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) { in create()
96 <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) { in create()
101 abstract <K, V> ListMultimap<K, V> create(Multimap<K, V> contents); in create()
DLinkedListMultimapTest.java67 protected ListMultimap<String, String> create(Entry<String, String>[] entries) { in suite()
68 ListMultimap<String, String> multimap = LinkedListMultimap.create(); in suite()
172 ListMultimap<String, Integer> map = create(); in testLinkedGetInsert()
226 ListMultimap<String, Integer> map = create(); in testLinkedClear()
320 ListMultimap<String, Integer> multimap = create(); in testEntriesAfterMultimapUpdate()
/external/guice/core/src/com/google/inject/internal/
DCycleDetectingLock.java8 import com.google.common.collect.ListMultimap;
52 ListMultimap<Long, ID> lockOrDetectPotentialLocksCycle(); in lockOrDetectPotentialLocksCycle()
146 @Override public ListMultimap<Long, ID> lockOrDetectPotentialLocksCycle() { in lockOrDetectPotentialLocksCycle()
150 ListMultimap<Long, ID> locksInCycle = detectPotentialLocksCycle(); in lockOrDetectPotentialLocksCycle()
233 private ListMultimap<Long, ID> detectPotentialLocksCycle() { in detectPotentialLocksCycle()
241 ListMultimap<Long, ID> potentialLocksCycle = Multimaps.newListMultimap( in detectPotentialLocksCycle()
DSingletonScope.java6 import com.google.common.collect.ListMultimap;
136 final ListMultimap<Long, Key<?>> locksCycle = in scope()
254 ListMultimap<Long, Key<?>> locksCycle, in scope()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMultimaps.java167 public static <K, V> ListMultimap<K, V> newListMultimap( in newListMultimap()
503 extends UnmodifiableMultimap<K, V> implements ListMultimap<K, V> {
504 UnmodifiableListMultimap(ListMultimap<K, V> delegate) { in UnmodifiableListMultimap()
507 @Override public ListMultimap<K, V> delegate() { in delegate()
508 return (ListMultimap<K, V>) super.delegate(); in delegate()
683 public static <K, V> ListMultimap<K, V> synchronizedListMultimap( in synchronizedListMultimap()
684 ListMultimap<K, V> multimap) { in synchronizedListMultimap()
706 public static <K, V> ListMultimap<K, V> unmodifiableListMultimap( in unmodifiableListMultimap()
707 ListMultimap<K, V> delegate) { in unmodifiableListMultimap()
721 @Deprecated public static <K, V> ListMultimap<K, V> unmodifiableListMultimap( in unmodifiableListMultimap()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMultimapsTest.java79 ListMultimap<String, Integer> mod = ArrayListMultimap.create(); in testUnmodifiableListMultimapShortCircuit()
80 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); in testUnmodifiableListMultimapShortCircuit()
87 immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); in testUnmodifiableListMultimapShortCircuit()
115 ListMultimap<String, Integer> delegate = ArrayListMultimap.create(); in testUnmodifiableArrayListMultimapRandomAccess()
118 ListMultimap<String, Integer> multimap in testUnmodifiableArrayListMultimapRandomAccess()
125 ListMultimap<String, Integer> delegate = LinkedListMultimap.create(); in testUnmodifiableLinkedListMultimapRandomAccess()
128 ListMultimap<String, Integer> multimap in testUnmodifiableLinkedListMultimapRandomAccess()
245 } else if (multimap instanceof ListMultimap) { in prepareUnmodifiableTests()
247 (ListMultimap<String, Integer>) multimap); in prepareUnmodifiableTests()
296 ListMultimap<String, Integer> listMultimap = ArrayListMultimap.create(); in testAsMap_listMultimap()
[all …]
DMultimapBuilderTest.java35 ListMultimap<String, Integer> a = in testGenerics_gwtCompatible()
44 ListMultimap<String, Integer> multimap = in testTreeKeys_gwtCompatible()
DArrayListMultimapTest.java38 protected ListMultimap<String, Integer> create() { in create()
82 ListMultimap<String, Integer> multimap = create(); in testSublistConcurrentModificationException()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DModuleValidator.java27 import com.google.common.collect.ListMultimap;
97 ListMultimap<String, ExecutableElement> allMethodsByName = ArrayListMultimap.create(); in validate()
98 ListMultimap<String, ExecutableElement> bindingMethodsByName = ArrayListMultimap.create(); in validate()
129 ListMultimap<String, ExecutableElement> bindingMethodsByName) { in validateMethodsWithSameName()
219 ListMultimap<String, ExecutableElement> allMethodsByName, in validateProvidesOverrides()
220 ListMultimap<String, ExecutableElement> bindingMethodsByName) { in validateProvidesOverrides()
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMultimapTypeAdapterFactory.java22 import com.google.common.collect.ListMultimap;
45 TypeToken<ListMultimap<K, V>> from) { in getMapOfListsToken()
46 ParameterizedType rawType = (ParameterizedType) from.getSupertype(ListMultimap.class).getType(); in getMapOfListsToken()

123