CrackMe.apk
Download file
package com.google.common.cache;
import com.google.common.base.Supplier;
import java.util.concurrent.atomic.AtomicLong;
@ElementTypesAreNonnullByDefault
final class LongAddables {
private static final Supplier<LongAddable> SUPPLIER;
LongAddables() {
}
static {
Supplier<LongAddable> supplier;
try {
new LongAdder();
supplier = new Supplier<LongAddable>() {
public LongAddable get() {
return new LongAdder();
}
};
} catch (Throwable unused) {
supplier = new Supplier<LongAddable>() {
public LongAddable get() {
return new PureJavaLongAddable();
}
};
}
SUPPLIER = supplier;
}
public static LongAddable create() {
return SUPPLIER.get();
}
private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
private PureJavaLongAddable() {
}
public void increment() {
getAndIncrement();
}
public void add(long j) {
getAndAdd(j);
}
public long sum() {
return get();
}
}
}
Download file