HomeSort by relevance Sort by last modified time
    Searched refs:Multimap (Results 101 - 125 of 223) sorted by null

1 2 3 45 6 7 8 9

  /external/smali/util/src/main/java/org/jf/util/
ClassFileNameHandler.java 32 import com.google.common.collect.Multimap;
295 private final Multimap<String, FileSystemEntry> children = ArrayListMultimap.create();
  /external/guava/guava/src/com/google/common/collect/
MapConstraints.java 90 * Returns a constrained view of the specified multimap, using the specified
95 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
96 * {@link Multimap#replaceValues} methods return collections that are not
99 * <p>The returned multimap is not serializable.
101 * @param multimap the multimap to constrain
103 * @return a constrained view of the multimap
105 public static <K, V> Multimap<K, V> constrainedMultimap(
106 Multimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint)
    [all...]
Synchronized.java 505 static <K, V> Multimap<K, V> multimap( method in class:Synchronized
506 Multimap<K, V> multimap, @Nullable Object mutex) {
507 if (multimap instanceof SynchronizedMultimap ||
508 multimap instanceof ImmutableMultimap) {
509 return multimap;
511 return new SynchronizedMultimap<K, V>(multimap, mutex);
515 implements Multimap<K, V> {
523 @Override Multimap<K, V> delegate()
    [all...]
LinkedListMultimap.java 48 * across non-distinct key values. For example, for the following multimap
51 * Multimap<K, V> multimap = LinkedListMultimap.create();
52 * multimap.put(key1, foo);
53 * multimap.put(key2, bar);
54 * multimap.put(key1, baz);}</pre>
69 * through the keys in the order they were first added to the multimap.
74 * added to the multimap.
82 * that are views of the multimap. If the multimap is modified while a
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Synchronized.java 489 static <K, V> Multimap<K, V> multimap( method in class:Synchronized
490 Multimap<K, V> multimap, @Nullable Object mutex) {
491 if (multimap instanceof SynchronizedMultimap ||
492 multimap instanceof ImmutableMultimap) {
493 return multimap;
495 return new SynchronizedMultimap<K, V>(multimap, mutex);
499 implements Multimap<K, V> {
507 @Override Multimap<K, V> delegate()
    [all...]
LinkedListMultimap.java 44 * across non-distinct key values. For example, for the following multimap
47 * Multimap<K, V> multimap = LinkedListMultimap.create();
48 * multimap.put(key1, foo);
49 * multimap.put(key2, bar);
50 * multimap.put(key1, baz);}</pre>
65 * through the keys in the order they were first added to the multimap.
70 * added to the multimap.
78 * that are views of the multimap. If the multimap is modified while a
    [all...]
LinkedHashMultimap.java 39 * Implementation of {@code Multimap} that does not allow duplicate key-value
41 * which the data was added to the multimap.
45 * multimap. Similarly, {@code get}, {@code removeAll}, and {@code
49 * added to the multimap.
55 * then add the key back to the multimap, that key will come last in the key
58 * <p>The multimap does not store duplicate key-value pairs. Adding a new
61 * <p>Keys and values may be null. All optional multimap methods are supported,
65 * multimap. Concurrent read operations will work correctly. To allow concurrent
66 * update operations, wrap your multimap with a call to {@link
70 * "http://code.google.com/p/guava-libraries/wiki/NewCollectionTypesExplained#Multimap">
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ComponentValidator.java 26 import com.google.common.collect.Multimap;
155 Multimap<Element, ExecutableElement> referencedSubcomponents = LinkedHashMultimap.create();
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
EventFacade.java 36 import com.google.common.collect.Multimap;
75 private final Multimap<String, EventObserver> mNamedEventObservers = Multimaps
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
MapBinder.java 35 import com.google.common.collect.Multimap;
467 Multimap<K, IndexedBinding> index = HashMultimap.create();
489 Multimap<K, String> dups = newLinkedKeyArrayValueMultimap();
722 "Multimap injection failed due to null value for key \"%s\"", key);
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
ContextFixture.java 71 import com.google.common.collect.Multimap;
453 private final Multimap<String, ComponentName> mComponentNamesByAction =
465 private final Multimap<String, BroadcastReceiver> mBroadcastReceiversByAction =
469 private final Multimap<Intent, BroadcastReceiver> mOrderedBroadcastReceivers =
  /external/guava/guava-testlib/test/com/google/common/testing/
FreshValueGeneratorTest.java 51 import com.google.common.collect.Multimap;
491 assertFreshInstance(new TypeToken<Multimap<String, ?>>() {});
493 Multimap<String, Integer> expected = ArrayListMultimap.create();
496 new FreshValueGenerator().generate(new TypeToken<Multimap<String, Integer>>() {}));
497 assertNotInstantiable(new TypeToken<Multimap<EmptyEnum, String>>() {});
    [all...]
ArbitraryInstancesTest.java 46 import com.google.common.collect.Multimap;
190 assertEquals(ImmutableMultimap.of(), ArbitraryInstances.get(Multimap.class));
NullPointerTesterTest.java 34 import com.google.common.collect.Multimap;
857 Multimap<String, Integer> multimap,
870 multimap, immutableMultimap,
    [all...]
  /external/desugar/java/com/google/devtools/common/options/
OptionsParserImpl.java 29 import com.google.common.collect.Multimap;
81 private final Multimap<Field, UnparsedOptionValueDescription> canonicalizeValues
  /external/guava/guava-testlib/src/com/google/common/testing/
ArbitraryInstances.java 55 import com.google.common.collect.Multimap;
255 .put(Multimap.class, ImmutableMultimap.of())
FreshValueGenerator.java 54 import com.google.common.collect.Multimap;
651 @Generates private static <K, V> Multimap<K, V> freshMultimap(K key, V value) {
664 ArrayListMultimap<K, V> multimap = ArrayListMultimap.create();
665 multimap.put(key, value);
666 return multimap;
679 HashMultimap<K, V> multimap = HashMultimap.create();
680 multimap.put(key, value);
681 return multimap;
686 LinkedHashMultimap<K, V> multimap = LinkedHashMultimap.create();
687 multimap.put(key, value)
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
ComponentContextFixture.java 20 import com.google.common.collect.Multimap;
392 private final Multimap<String, ComponentName> mComponentNamesByAction =
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/
AttributeInfoTest.java 34 import com.google.common.collect.Multimap;
259 private Multimap<ResourceType, String> mResources = ArrayListMultimap.create();
  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedMultimapTest.java 42 * Tests for {@code Synchronized#multimap}.
141 @Override public boolean putAll(Multimap<? extends K, ? extends V> map) {
202 ListMultimap<String, Integer> multimap local
205 multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1));
206 multimap.putAll("bar", Arrays.asList(1, 2, 3, 1));
207 assertThat(multimap.removeAll("foo")).has().exactly(3, -1, 2, 4, 1).inOrder();
208 assertFalse(multimap.containsKey("foo"));
209 assertThat(multimap.replaceValues("bar", Arrays.asList(6, 5)))
211 assertThat(multimap.get("bar")).has().exactly(6, 5).inOrder();
215 SortedSetMultimap<String, Integer> multimap local
231 ListMultimap<String, Integer> multimap local
241 ListMultimap<String, Integer> multimap local
    [all...]
TreeMultimapNaturalTest.java 72 SetMultimap<String, String> multimap = TreeMultimap.create(
75 multimap.put(entry.getKey(), entry.getValue());
77 return multimap;
108 TreeMultimap<String, Integer> multimap = TreeMultimap.create(
111 multimap.put(elements[i], i);
113 return multimap.keySet();
171 TreeMultimap<String, String> multimap = TreeMultimap.create();
175 checkArgument(!multimap.containsKey(entry.getKey()));
176 multimap.putAll(entry.getKey(), entry.getValue());
178 return multimap.asMap()
265 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
277 SetMultimap<String, Integer> multimap = create(); local
285 TreeMultimap<String, Integer> multimap = createPopulate(); local
292 TreeMultimap<String, Integer> multimap = createPopulate(); local
297 TreeMultimap<String, Integer> multimap = createPopulate(); local
312 TreeMultimap<String, Integer> multimap = createPopulate(); local
324 TreeMultimap<String, Integer> multimap = createPopulate(); local
330 SetMultimap<String, Integer> multimap = create(); local
398 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
405 TreeMultimap<String, Integer> multimap = createPopulate(); local
416 TreeMultimap<DerivedComparable, DerivedComparable> multimap = TreeMultimap.create(); local
417 assertEquals(ImmutableMultimap.of(), multimap); local
436 TreeMultimap<LegacyComparable, LegacyComparable> multimap local
438 assertEquals(ImmutableMultimap.of(), multimap); local
459 TreeMultimap<String, Integer> multimap = createPopulate(); local
476 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
    [all...]
  /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
FactoryProvider2.java 29 import com.google.common.collect.Multimap;
224 Multimap<String, Method> defaultMethods = HashMultimap.create();
225 Multimap<String, Method> otherMethods = HashMultimap.create();
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
WifiTracker.java 479 Multimap<String, AccessPoint> apMap = new Multimap<String, AccessPoint>();
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
PropertyFactory.java 38 import com.google.common.collect.Multimap;
269 Multimap<String, Property> categoryToProperties = ArrayListMultimap.create();
449 Multimap<String, Property> categoryToProperties = ArrayListMultimap.create();
    [all...]
  /external/guice/extensions/multibindings/test/com/google/inject/multibindings/
SpiUtils.java 51 import com.google.common.collect.Multimap;
186 Multimap<Object, IndexedBinding> indexedEntries =
301 Multimap<Object, IndexedBinding> indexedEntries =
    [all...]

Completed in 1359 milliseconds

1 2 3 45 6 7 8 9