CrackMe.apk
Download file
package com.google.common.collect;
import com.google.common.base.Objects;
import com.google.common.collect.Multiset;
import com.google.common.collect.Multisets;
import java.util.Collection;
import java.util.Iterator;
import java.util.Set;
import javax.annotation.CheckForNull;
@ElementTypesAreNonnullByDefault
public abstract class ForwardingMultiset<E> extends ForwardingCollection<E> implements Multiset<E> {
/* access modifiers changed from: protected */
public abstract Multiset<E> delegate();
protected ForwardingMultiset() {
}
public int count(@CheckForNull Object obj) {
return delegate().count(obj);
}
public int add(@ParametricNullness E e, int i) {
return delegate().add(e, i);
}
public int remove(@CheckForNull Object obj, int i) {
return delegate().remove(obj, i);
}
public Set<E> elementSet() {
return delegate().elementSet();
}
public Set<Multiset.Entry<E>> entrySet() {
return delegate().entrySet();
}
public boolean equals(@CheckForNull Object obj) {
return obj == this || delegate().equals(obj);
}
public int hashCode() {
return delegate().hashCode();
}
public int setCount(@ParametricNullness E e, int i) {
return delegate().setCount(e, i);
}
public boolean setCount(@ParametricNullness E e, int i, int i2) {
return delegate().setCount(e, i, i2);
}
/* access modifiers changed from: protected */
public boolean standardContains(@CheckForNull Object obj) {
return count(obj) > 0;
}
/* access modifiers changed from: protected */
public void standardClear() {
Iterators.clear(entrySet().iterator());
}
/* access modifiers changed from: protected */
public int standardCount(@CheckForNull Object obj) {
for (Multiset.Entry entry : entrySet()) {
if (Objects.equal(entry.getElement(), obj)) {
return entry.getCount();
}
}
return 0;
}
/* access modifiers changed from: protected */
public boolean standardAdd(@ParametricNullness E e) {
add(e, 1);
return true;
}
/* access modifiers changed from: protected */
public boolean standardAddAll(Collection<? extends E> collection) {
return Multisets.addAllImpl(this, collection);
}
/* access modifiers changed from: protected */
public boolean standardRemove(@CheckForNull Object obj) {
return remove(obj, 1) > 0;
}
/* access modifiers changed from: protected */
public boolean standardRemoveAll(Collection<?> collection) {
return Multisets.removeAllImpl(this, collection);
}
/* access modifiers changed from: protected */
public boolean standardRetainAll(Collection<?> collection) {
return Multisets.retainAllImpl(this, collection);
}
/* access modifiers changed from: protected */
public int standardSetCount(@ParametricNullness E e, int i) {
return Multisets.setCountImpl(this, e, i);
}
/* access modifiers changed from: protected */
public boolean standardSetCount(@ParametricNullness E e, int i, int i2) {
return Multisets.setCountImpl(this, e, i, i2);
}
protected class StandardElementSet extends Multisets.ElementSet<E> {
public StandardElementSet() {
}
/* access modifiers changed from: package-private */
public Multiset<E> multiset() {
return ForwardingMultiset.this;
}
public Iterator<E> iterator() {
return Multisets.elementIterator(multiset().entrySet().iterator());
}
}
/* access modifiers changed from: protected */
public Iterator<E> standardIterator() {
return Multisets.iteratorImpl(this);
}
/* access modifiers changed from: protected */
public int standardSize() {
return Multisets.linearTimeSizeImpl(this);
}
/* access modifiers changed from: protected */
public boolean standardEquals(@CheckForNull Object obj) {
return Multisets.equalsImpl(this, obj);
}
/* access modifiers changed from: protected */
public int standardHashCode() {
return entrySet().hashCode();
}
/* access modifiers changed from: protected */
public String standardToString() {
return entrySet().toString();
}
}
Download file