CrackMe.apk
Download file
package com.google.common.collect;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.annotation.CheckForNull;
@ElementTypesAreNonnullByDefault
public final class ArrayListMultimap<K, V> extends ArrayListMultimapGwtSerializationDependencies<K, V> {
private static final int DEFAULT_VALUES_PER_KEY = 3;
private static final long serialVersionUID = 0;
transient int expectedValuesPerKey;
public /* bridge */ /* synthetic */ Map asMap() {
return super.asMap();
}
public /* bridge */ /* synthetic */ void clear() {
super.clear();
}
public /* bridge */ /* synthetic */ boolean containsEntry(@CheckForNull Object obj, @CheckForNull Object obj2) {
return super.containsEntry(obj, obj2);
}
public /* bridge */ /* synthetic */ boolean containsKey(@CheckForNull Object obj) {
return super.containsKey(obj);
}
public /* bridge */ /* synthetic */ boolean containsValue(@CheckForNull Object obj) {
return super.containsValue(obj);
}
public /* bridge */ /* synthetic */ Collection entries() {
return super.entries();
}
public /* bridge */ /* synthetic */ boolean equals(@CheckForNull Object obj) {
return super.equals(obj);
}
public /* bridge */ /* synthetic */ List get(@ParametricNullness Object obj) {
return super.get(obj);
}
public /* bridge */ /* synthetic */ int hashCode() {
return super.hashCode();
}
public /* bridge */ /* synthetic */ boolean isEmpty() {
return super.isEmpty();
}
public /* bridge */ /* synthetic */ Set keySet() {
return super.keySet();
}
public /* bridge */ /* synthetic */ Multiset keys() {
return super.keys();
}
public /* bridge */ /* synthetic */ boolean put(@ParametricNullness Object obj, @ParametricNullness Object obj2) {
return super.put(obj, obj2);
}
public /* bridge */ /* synthetic */ boolean putAll(Multimap multimap) {
return super.putAll(multimap);
}
public /* bridge */ /* synthetic */ boolean putAll(@ParametricNullness Object obj, Iterable iterable) {
return super.putAll(obj, iterable);
}
public /* bridge */ /* synthetic */ boolean remove(@CheckForNull Object obj, @CheckForNull Object obj2) {
return super.remove(obj, obj2);
}
public /* bridge */ /* synthetic */ List removeAll(@CheckForNull Object obj) {
return super.removeAll(obj);
}
public /* bridge */ /* synthetic */ List replaceValues(@ParametricNullness Object obj, Iterable iterable) {
return super.replaceValues(obj, iterable);
}
public /* bridge */ /* synthetic */ int size() {
return super.size();
}
public /* bridge */ /* synthetic */ String toString() {
return super.toString();
}
public /* bridge */ /* synthetic */ Collection values() {
return super.values();
}
public static <K, V> ArrayListMultimap<K, V> create() {
return new ArrayListMultimap<>();
}
public static <K, V> ArrayListMultimap<K, V> create(int i, int i2) {
return new ArrayListMultimap<>(i, i2);
}
public static <K, V> ArrayListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
return new ArrayListMultimap<>(multimap);
}
private ArrayListMultimap() {
this(12, 3);
}
private ArrayListMultimap(int i, int i2) {
super(Platform.newHashMapWithExpectedSize(i));
CollectPreconditions.checkNonnegative(i2, "expectedValuesPerKey");
this.expectedValuesPerKey = i2;
}
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
private ArrayListMultimap(Multimap<? extends K, ? extends V> multimap) {
this(multimap.keySet().size(), multimap instanceof ArrayListMultimap ? ((ArrayListMultimap) multimap).expectedValuesPerKey : 3);
putAll(multimap);
}
/* access modifiers changed from: package-private */
public List<V> createCollection() {
return new ArrayList(this.expectedValuesPerKey);
}
@Deprecated
public void trimToSize() {
for (Collection collection : backingMap().values()) {
((ArrayList) collection).trimToSize();
}
}
private void writeObject(ObjectOutputStream objectOutputStream) throws IOException {
objectOutputStream.defaultWriteObject();
Serialization.writeMultimap(this, objectOutputStream);
}
private void readObject(ObjectInputStream objectInputStream) throws IOException, ClassNotFoundException {
objectInputStream.defaultReadObject();
this.expectedValuesPerKey = 3;
int readCount = Serialization.readCount(objectInputStream);
setMap(CompactHashMap.create());
Serialization.populateMultimap(this, objectInputStream, readCount);
}
}
Download file