CrackMe.apk
Download file
package com.google.common.collect;
import com.google.common.base.Objects;
import java.util.Collection;
import java.util.Iterator;
import javax.annotation.CheckForNull;
@ElementTypesAreNonnullByDefault
public abstract class ForwardingCollection<E> extends ForwardingObject implements Collection<E> {
/* access modifiers changed from: protected */
public abstract Collection<E> delegate();
protected ForwardingCollection() {
}
public Iterator<E> iterator() {
return delegate().iterator();
}
public int size() {
return delegate().size();
}
public boolean removeAll(Collection<?> collection) {
return delegate().removeAll(collection);
}
public boolean isEmpty() {
return delegate().isEmpty();
}
public boolean contains(@CheckForNull Object obj) {
return delegate().contains(obj);
}
public boolean add(@ParametricNullness E e) {
return delegate().add(e);
}
public boolean remove(@CheckForNull Object obj) {
return delegate().remove(obj);
}
public boolean containsAll(Collection<?> collection) {
return delegate().containsAll(collection);
}
public boolean addAll(Collection<? extends E> collection) {
return delegate().addAll(collection);
}
public boolean retainAll(Collection<?> collection) {
return delegate().retainAll(collection);
}
public void clear() {
delegate().clear();
}
public Object[] toArray() {
return delegate().toArray();
}
public <T> T[] toArray(T[] tArr) {
return delegate().toArray(tArr);
}
/* access modifiers changed from: protected */
public boolean standardContains(@CheckForNull Object obj) {
return Iterators.contains(iterator(), obj);
}
/* access modifiers changed from: protected */
public boolean standardContainsAll(Collection<?> collection) {
return Collections2.containsAllImpl(this, collection);
}
/* access modifiers changed from: protected */
public boolean standardAddAll(Collection<? extends E> collection) {
return Iterators.addAll(this, collection.iterator());
}
/* access modifiers changed from: protected */
public boolean standardRemove(@CheckForNull Object obj) {
Iterator it = iterator();
while (it.hasNext()) {
if (Objects.equal(it.next(), obj)) {
it.remove();
return true;
}
}
return false;
}
/* access modifiers changed from: protected */
public boolean standardRemoveAll(Collection<?> collection) {
return Iterators.removeAll(iterator(), collection);
}
/* access modifiers changed from: protected */
public boolean standardRetainAll(Collection<?> collection) {
return Iterators.retainAll(iterator(), collection);
}
/* access modifiers changed from: protected */
public void standardClear() {
Iterators.clear(iterator());
}
/* access modifiers changed from: protected */
public boolean standardIsEmpty() {
return !iterator().hasNext();
}
/* access modifiers changed from: protected */
public String standardToString() {
return Collections2.toStringImpl(this);
}
/* access modifiers changed from: protected */
public Object[] standardToArray() {
return toArray(new Object[size()]);
}
/* access modifiers changed from: protected */
public <T> T[] standardToArray(T[] tArr) {
return ObjectArrays.toArrayImpl(this, tArr);
}
}
Download file