- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
71 lines
2.3 KiB
Java
71 lines
2.3 KiB
Java
package com.google.common.collect;
|
|
|
|
import com.google.common.base.Function;
|
|
import com.ironsource.nb;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public abstract class Maps {
|
|
|
|
/* renamed from: com.google.common.collect.Maps$1, reason: invalid class name */
|
|
public abstract class AnonymousClass1 extends TransformedIterator {
|
|
}
|
|
|
|
public enum EntryFunction implements Function {
|
|
KEY { // from class: com.google.common.collect.Maps.EntryFunction.1
|
|
@Override // com.google.common.collect.Maps.EntryFunction, com.google.common.base.Function
|
|
public Object apply(Map.Entry<?, ?> entry) {
|
|
return entry.getKey();
|
|
}
|
|
},
|
|
VALUE { // from class: com.google.common.collect.Maps.EntryFunction.2
|
|
@Override // com.google.common.collect.Maps.EntryFunction, com.google.common.base.Function
|
|
public Object apply(Map.Entry<?, ?> entry) {
|
|
return entry.getValue();
|
|
}
|
|
};
|
|
|
|
@Override // com.google.common.base.Function
|
|
public abstract /* synthetic */ Object apply(Object obj);
|
|
|
|
/* synthetic */ EntryFunction(AnonymousClass1 anonymousClass1) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public static Function keyFunction() {
|
|
return EntryFunction.KEY;
|
|
}
|
|
|
|
public static Function valueFunction() {
|
|
return EntryFunction.VALUE;
|
|
}
|
|
|
|
public static boolean equalsImpl(Map map, Object obj) {
|
|
if (map == obj) {
|
|
return true;
|
|
}
|
|
if (obj instanceof Map) {
|
|
return map.entrySet().equals(((Map) obj).entrySet());
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public static String toStringImpl(Map map) {
|
|
StringBuilder newStringBuilderForCollection = Collections2.newStringBuilderForCollection(map.size());
|
|
newStringBuilderForCollection.append('{');
|
|
boolean z = true;
|
|
for (Map.Entry entry : map.entrySet()) {
|
|
if (!z) {
|
|
newStringBuilderForCollection.append(", ");
|
|
}
|
|
newStringBuilderForCollection.append(entry.getKey());
|
|
newStringBuilderForCollection.append(nb.T);
|
|
newStringBuilderForCollection.append(entry.getValue());
|
|
z = false;
|
|
}
|
|
newStringBuilderForCollection.append('}');
|
|
return newStringBuilderForCollection.toString();
|
|
}
|
|
}
|