mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 10:02:28 -06:00
87 lines
4 KiB
Java
87 lines
4 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;
|
||
|
import javax.annotation.CheckForNull;
|
||
|
|
||
|
@ElementTypesAreNonnullByDefault
|
||
|
/* loaded from: classes3.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, com.google.common.collect.ListMultimap
|
||
|
public /* bridge */ /* synthetic */ Collection get(@ParametricNullness 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, com.google.common.collect.ListMultimap
|
||
|
public /* bridge */ /* synthetic */ Collection replaceValues(@ParametricNullness 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(@ParametricNullness K k, Collection<V> collection) {
|
||
|
return new AbstractMapBasedMultimap.WrappedSet(k, (Set) collection);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.Multimap, com.google.common.collect.ListMultimap
|
||
|
public Set<V> get(@ParametricNullness 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, com.google.common.collect.ListMultimap
|
||
|
public Set<V> removeAll(@CheckForNull Object obj) {
|
||
|
return (Set) super.removeAll(obj);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.common.collect.AbstractMapBasedMultimap, com.google.common.collect.AbstractMultimap, com.google.common.collect.Multimap, com.google.common.collect.ListMultimap
|
||
|
public Set<V> replaceValues(@ParametricNullness 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(@ParametricNullness K k, @ParametricNullness 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(@CheckForNull Object obj) {
|
||
|
return super.equals(obj);
|
||
|
}
|
||
|
}
|