85 lines
3.6 KiB
Java
85 lines
3.6 KiB
Java
|
package com.google.common.collect;
|
||
|
|
||
|
import com.google.common.collect.AbstractMapBasedMultimap;
|
||
|
import java.util.Collection;
|
||
|
import java.util.Collections;
|
||
|
import java.util.Map;
|
||
|
import java.util.Set;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
abstract class AbstractSetMultimap<K, V> extends AbstractMapBasedMultimap<K, V> implements SetMultimap<K, V> {
|
||
|
private static final long serialVersionUID = 7431625294878419160L;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap
|
||
|
public abstract Set<V> createCollection();
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.Multimap
|
||
|
public /* bridge */ /* synthetic */ Collection get(Object obj) {
|
||
|
return get((AbstractSetMultimap<K, V>) obj);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.AbstractMultimap, com.google.common.collect.Multimap
|
||
|
public /* bridge */ /* synthetic */ Collection replaceValues(Object obj, Iterable iterable) {
|
||
|
return replaceValues((AbstractSetMultimap<K, V>) obj, iterable);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public AbstractSetMultimap(Map<K, Collection<V>> map) {
|
||
|
super(map);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap
|
||
|
public Set<V> createUnmodifiableEmptyCollection() {
|
||
|
return Collections.emptySet();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap
|
||
|
<E> Collection<E> unmodifiableCollectionSubclass(Collection<E> collection) {
|
||
|
return Collections.unmodifiableSet((Set) collection);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap
|
||
|
Collection<V> wrapCollection(K k, Collection<V> collection) {
|
||
|
return new AbstractMapBasedMultimap.WrappedSet(this, k, (Set) collection);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.Multimap
|
||
|
public Set<V> get(K k) {
|
||
|
return (Set) super.get((AbstractSetMultimap<K, V>) k);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.AbstractMultimap, com.google.common.collect.Multimap
|
||
|
public Set<Map.Entry<K, V>> entries() {
|
||
|
return (Set) super.entries();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.Multimap
|
||
|
public Set<V> removeAll(Object obj) {
|
||
|
return (Set) super.removeAll(obj);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.AbstractMultimap, com.google.common.collect.Multimap
|
||
|
public Set<V> replaceValues(K k, Iterable<? extends V> iterable) {
|
||
|
return (Set) super.replaceValues((AbstractSetMultimap<K, V>) k, (Iterable) iterable);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMultimap, com.google.common.collect.Multimap, com.google.common.collect.ListMultimap
|
||
|
public Map<K, Collection<V>> asMap() {
|
||
|
return super.asMap();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.AbstractMultimap, com.google.common.collect.Multimap
|
||
|
public boolean put(K k, V v) {
|
||
|
return super.put(k, v);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMultimap, com.google.common.collect.Multimap, com.google.common.collect.ListMultimap
|
||
|
public boolean equals(Object obj) {
|
||
|
return super.equals(obj);
|
||
|
}
|
||
|
}
|