Lines Matching defs:Multimap

57  * 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(
446 Multimap<K, V> multimap) {
456 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
457 * {@link Multimap#replaceValues} methods return collections that are
467 public static <K, V> Multimap<K, V> unmodifiableMultimap(
468 Multimap<K, V> delegate) {
482 @Deprecated public static <K, V> Multimap<K, V> unmodifiableMultimap(
489 final Multimap<K, V> delegate;
496 UnmodifiableMultimap(final Multimap<K, V> delegate) {
500 @Override protected Multimap<K, V> delegate() {
589 public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
755 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
756 * {@link Multimap#replaceValues} methods return collections that are
810 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
811 * {@link Multimap#replaceValues} methods return collections that are
850 * <p>Note that the generated multimap's {@link Multimap#removeAll} and
851 * {@link Multimap#replaceValues} methods return collections that are
1108 public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
1170 if (object instanceof Multimap) {
1171 Multimap<?, ?> that = (Multimap<?, ?>) object;
1286 * Multimap<String, Integer> multimap =
1293 * Multimap<String, String> transformed =
1318 * {@link Multimap#containsValue} and {@code Multimap.toString()}. For this to
1326 public static <K, V1, V2> Multimap<K, V2> transformValues(
1327 Multimap<K, V1> fromMultimap, final Function<? super V1, V2> function) {
1355 * Multimap<String, String> transformed =
1380 * Multimap#containsValue} and {@link Object#toString}. For this to perform
1395 public static <K, V1, V2> Multimap<K, V2> transformEntries(
1396 Multimap<K, V1> fromMap,
1402 implements Multimap<K, V2> {
1403 final Multimap<K, V1> fromMultimap;
1406 TransformedEntriesMultimap(Multimap<K, V1> fromMultimap,
1535 Multimap<? extends K, ? extends V2> multimap) {
1577 if (obj instanceof Multimap) {
1578 Multimap<?, ?> other = (Multimap<?, ?>) obj;
1627 * {@link Multimap#containsValue} and {@code Multimap.toString()}. For this to
1658 * Multimap<String, Integer> multimap =
1666 * Multimap<String, String> transformed =
1687 * Multimap#containsValue} and {@link Object#toString}. For this to perform
1756 * Multimap<Integer, String> index =
1821 * Multimap<Integer, String> index =
1862 abstract Multimap<K, V> multimap();
2008 abstract Multimap<K, V> multimap();
2042 * A skeleton implementation of {@link Multimap#entries()}.
2046 abstract Multimap<K, V> multimap();
2088 * A skeleton implementation of {@link Multimap#asMap()}.
2092 abstract Multimap<K, V> multimap();
2183 public static <K, V> Multimap<K, V> filterKeys(
2184 Multimap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
2228 public static <K, V> Multimap<K, V> filterValues(
2229 Multimap<K, V> unfiltered, final Predicate<? super V> valuePredicate) {
2271 public static <K, V> Multimap<K, V> filterEntries(
2272 Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) {
2286 private static <K, V> Multimap<K, V> filterFiltered(FilteredMultimap<K, V> map,
2293 private static class FilteredMultimap<K, V> implements Multimap<K, V> {
2294 final Multimap<K, V> unfiltered;
2297 FilteredMultimap(Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) {
2344 @Override public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
2390 if (object instanceof Multimap) {
2391 Multimap<?, ?> that = (Multimap<?, ?>) object;
2438 @Override Multimap<K, V> multimap() {
2705 @Override Multimap<K, V> multimap() {