Searched defs:Multimap (Results 1 - 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
H A DSerialization.java44 * #writeMultimap(Multimap, ObjectOutputStream)}.
144 * change while the method is running. The {@link Multimap#asMap} view
152 Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException {
168 Multimap<K, V> multimap, ObjectInputStream stream)
180 Multimap<K, V> multimap, ObjectInputStream stream, int distinctKeys)
151 writeMultimap( Multimap<K, V> multimap, ObjectOutputStream stream) argument
167 populateMultimap( Multimap<K, V> multimap, ObjectInputStream stream) argument
179 populateMultimap( Multimap<K, V> multimap, ObjectInputStream stream, int distinctKeys) argument
H A DMultimap.java59 public interface Multimap<K, V> { interface
138 boolean putAll(Multimap<? extends K, ? extends V> multimap);
263 * as returned by {@link Multimap#asMap}.
H A DMapConstraints.java94 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
95 * {@link Multimap#replaceValues} methods return collections that are not
104 public static <K, V> Multimap<K, V> constrainedMultimap( argument
105 Multimap<K, V> multimap, MapConstraint<? super K, ? super V> constraint) {
115 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
116 * {@link Multimap#replaceValues} methods return collections that are not
137 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
138 * {@link Multimap#replaceValues} methods return collections that are not
158 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
159 * {@link Multimap#replaceValue
[all...]
H A DMultimaps.java57 * Provides static methods acting on or generating a {@code Multimap}.
70 * Creates a new {@code Multimap} that uses the provided map and factory. It
107 public static <K, V> Multimap<K, V> newMultimap(Map<K, Collection<V>> map,
403 public static <K, V, M extends Multimap<K, V>> M invertFrom(
404 Multimap<? extends V, ? extends K> source, M dest) {
421 * Multimap<K, V> m = Multimaps.synchronizedMultimap(
435 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
436 * {@link Multimap#replaceValues} methods return collections that aren't
445 public static <K, V> Multimap<K, V> synchronizedMultimap( argument
446 Multimap<
467 unmodifiableMultimap( Multimap<K, V> delegate) argument
496 UnmodifiableMultimap(final Multimap<K, V> delegate) argument
1326 transformValues( Multimap<K, V1> fromMultimap, final Function<? super V1, V2> function) argument
1395 transformEntries( Multimap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) argument
2183 filterKeys( Multimap<K, V> unfiltered, final Predicate<? super K> keyPredicate) argument
2228 filterValues( Multimap<K, V> unfiltered, final Predicate<? super V> valuePredicate) argument
2271 filterEntries( Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) argument
[all...]
H A DSynchronized.java500 static <K, V> Multimap<K, V> multimap( argument
501 Multimap<K, V> multimap, @Nullable Object mutex) {
510 implements Multimap<K, V> {
518 @Override Multimap<K, V> delegate() {
519 return (Multimap<K, V>) super.delegate();
522 SynchronizedMultimap(Multimap<K, V> delegate, @Nullable Object mutex) {
583 public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DUnmodifiableCollectionTests.java28 import com.google.common.collect.Multimap;
270 Multimap<K, V> multimap, final K sampleKey, final V sampleValue) {
345 // Test #putAll(Multimap<K, V>)
346 Multimap<K, V> multimap2 = ArrayListMultimap.create();
350 fail("putAll(Multimap<K, V>) succeeded on unmodifiable multimap");
421 Multimap<K, V> expected, List<Entry<K, V>> actual) {
269 assertMultimapIsUnmodifiable( Multimap<K, V> multimap, final K sampleKey, final V sampleValue) argument
420 assertMultimapRemainsUnmodified( Multimap<K, V> expected, List<Entry<K, V>> actual) argument
/external/guava/guava-tests/test/com/google/common/collect/
H A DMultimapCollectionTest.java66 * Run collection tests on {@link Multimap} implementations.
132 Multimap<Integer, String> multimap, String[] elements) {
140 Multimap<String, Integer> multimap, String[] elements) {
148 Multimap<Integer, String> multimap, String[] elements) {
155 Multimap<String, Integer> multimap, String[] elements) {
162 * Implements {@code Multimap.put()} -- and no other methods -- for a {@code
165 * {@link MultimapCollectionTest#populateMultimapForGet(Multimap, String[])}
194 @Override protected Multimap<K, V> delegate() {
222 Multimap<String, Integer> multimap = createMultimap();
231 abstract Multimap<Strin
131 populateMultimapForGet( Multimap<Integer, String> multimap, String[] elements) argument
139 populateMultimapForKeySet( Multimap<String, Integer> multimap, String[] elements) argument
147 populateMultimapForValues( Multimap<Integer, String> multimap, String[] elements) argument
154 populateMultimapForKeys( Multimap<String, Integer> multimap, String[] elements) argument
[all...]
H A DMultimapsTest.java75 @Override protected Multimap<String, Integer> create() {
108 Multimap<String, Integer> mod = HashMultimap.create();
109 Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod);
114 assertSame(immutable, Multimaps.unmodifiableMultimap((Multimap<String, Integer>) immutable));
125 Multimap<String, Integer> unmodifiable =
157 Multimap<String, Integer> unmodifiable =
170 Multimap<String, Integer> unmodifiable =
183 Multimap<String, Integer> unmodifiable =
197 Multimap<String, Integer> unmodifiable =
219 Multimap<Strin
264 checkUnmodifiableMultimap( Multimap<String, Integer> multimap, boolean permitsDuplicates) argument
274 checkUnmodifiableMultimap( Multimap<String, Integer> multimap, boolean permitsDuplicates, @Nullable String nullKey, @Nullable Integer nullValue) argument
310 prepareUnmodifiableTests( Multimap<String, Integer> multimap, boolean permitsDuplicates, @Nullable String nullKey, @Nullable Integer nullValue) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DMultimaps.java53 * Provides static methods acting on or generating a {@code Multimap}.
66 * Creates a new {@code Multimap} that uses the provided map and factory. It
103 public static <K, V> Multimap<K, V> newMultimap(Map<K, Collection<V>> map,
314 public static <K, V, M extends Multimap<K, V>> M invertFrom(
315 Multimap<? extends V, ? extends K> source, M dest) {
332 * Multimap<K, V> m = Multimaps.synchronizedMultimap(
346 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
347 * {@link Multimap#replaceValues} methods return collections that aren't
356 public static <K, V> Multimap<K, V> synchronizedMultimap( argument
357 Multimap<
378 unmodifiableMultimap( Multimap<K, V> delegate) argument
407 UnmodifiableMultimap(final Multimap<K, V> delegate) argument
1237 transformValues( Multimap<K, V1> fromMultimap, final Function<? super V1, V2> function) argument
1306 transformEntries( Multimap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) argument
[all...]
H A DSynchronized.java487 static <K, V> Multimap<K, V> multimap( argument
488 Multimap<K, V> multimap, @Nullable Object mutex) {
497 implements Multimap<K, V> {
505 @Override Multimap<K, V> delegate() {
506 return (Multimap<K, V>) super.delegate();
509 SynchronizedMultimap(Multimap<K, V> delegate, @Nullable Object mutex) {
570 public boolean putAll(Multimap<? extends K, ? extends V> multimap) {

Completed in 305 milliseconds