mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
166 lines
6.7 KiB
Java
166 lines
6.7 KiB
Java
package com.google.common.collect;
|
|
|
|
import com.google.common.base.Supplier;
|
|
import java.io.Serializable;
|
|
import java.util.Collection;
|
|
import java.util.LinkedHashMap;
|
|
import java.util.Map;
|
|
import java.util.Set;
|
|
import javax.annotation.CheckForNull;
|
|
|
|
@ElementTypesAreNonnullByDefault
|
|
/* loaded from: classes3.dex */
|
|
public class HashBasedTable<R, C, V> extends StandardTable<R, C, V> {
|
|
private static final long serialVersionUID = 0;
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Set cellSet() {
|
|
return super.cellSet();
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ void clear() {
|
|
super.clear();
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Map column(Object obj) {
|
|
return super.column(obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Set columnKeySet() {
|
|
return super.columnKeySet();
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Map columnMap() {
|
|
return super.columnMap();
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ boolean contains(@CheckForNull Object obj, @CheckForNull Object obj2) {
|
|
return super.contains(obj, obj2);
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ boolean containsColumn(@CheckForNull Object obj) {
|
|
return super.containsColumn(obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ boolean containsRow(@CheckForNull Object obj) {
|
|
return super.containsRow(obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ boolean containsValue(@CheckForNull Object obj) {
|
|
return super.containsValue(obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ boolean equals(@CheckForNull Object obj) {
|
|
return super.equals(obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
@CheckForNull
|
|
public /* bridge */ /* synthetic */ Object get(@CheckForNull Object obj, @CheckForNull Object obj2) {
|
|
return super.get(obj, obj2);
|
|
}
|
|
|
|
@Override // com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ int hashCode() {
|
|
return super.hashCode();
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ boolean isEmpty() {
|
|
return super.isEmpty();
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
@CheckForNull
|
|
public /* bridge */ /* synthetic */ Object put(Object obj, Object obj2, Object obj3) {
|
|
return super.put(obj, obj2, obj3);
|
|
}
|
|
|
|
@Override // com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ void putAll(Table table) {
|
|
super.putAll(table);
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
@CheckForNull
|
|
public /* bridge */ /* synthetic */ Object remove(@CheckForNull Object obj, @CheckForNull Object obj2) {
|
|
return super.remove(obj, obj2);
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Map row(Object obj) {
|
|
return super.row(obj);
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Set rowKeySet() {
|
|
return super.rowKeySet();
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Map rowMap() {
|
|
return super.rowMap();
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ int size() {
|
|
return super.size();
|
|
}
|
|
|
|
@Override // com.google.common.collect.AbstractTable
|
|
public /* bridge */ /* synthetic */ String toString() {
|
|
return super.toString();
|
|
}
|
|
|
|
@Override // com.google.common.collect.StandardTable, com.google.common.collect.AbstractTable, com.google.common.collect.Table
|
|
public /* bridge */ /* synthetic */ Collection values() {
|
|
return super.values();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
/* loaded from: classes3.dex */
|
|
public static class Factory<C, V> implements Supplier<Map<C, V>>, Serializable {
|
|
private static final long serialVersionUID = 0;
|
|
final int expectedSize;
|
|
|
|
Factory(int i) {
|
|
this.expectedSize = i;
|
|
}
|
|
|
|
@Override // com.google.common.base.Supplier
|
|
public Map<C, V> get() {
|
|
return Maps.newLinkedHashMapWithExpectedSize(this.expectedSize);
|
|
}
|
|
}
|
|
|
|
public static <R, C, V> HashBasedTable<R, C, V> create() {
|
|
return new HashBasedTable<>(new LinkedHashMap(), new Factory(0));
|
|
}
|
|
|
|
public static <R, C, V> HashBasedTable<R, C, V> create(int i, int i2) {
|
|
CollectPreconditions.checkNonnegative(i2, "expectedCellsPerRow");
|
|
return new HashBasedTable<>(Maps.newLinkedHashMapWithExpectedSize(i), new Factory(i2));
|
|
}
|
|
|
|
public static <R, C, V> HashBasedTable<R, C, V> create(Table<? extends R, ? extends C, ? extends V> table) {
|
|
HashBasedTable<R, C, V> create = create();
|
|
create.putAll(table);
|
|
return create;
|
|
}
|
|
|
|
HashBasedTable(Map<R, Map<C, V>> map, Factory<C, V> factory) {
|
|
super(map, factory);
|
|
}
|
|
}
|