mm$n.java
4.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
import com.google.common.base.Equivalence;
import com.google.common.base.Preconditions;
import com.google.common.base.Ticker;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheBuilder.b;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.ForwardingCache;
import com.google.common.cache.RemovalListener;
import com.google.common.cache.Weigher;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.Serializable;
import java.util.concurrent.TimeUnit;
class mm$n<K, V>
extends ForwardingCache<K, V>
implements Serializable
{
private static final long serialVersionUID = 1L;
final mm.s b;
final mm.s c;
final Equivalence<Object> d;
final Equivalence<Object> e;
final long f;
final long g;
final long h;
final Weigher<K, V> i;
final int j;
final RemovalListener<? super K, ? super V> k;
final Ticker l;
final CacheLoader<? super K, V> m;
transient Cache<K, V> n;
private mm$n(mm.s params1, mm.s params2, Equivalence<Object> paramEquivalence1, Equivalence<Object> paramEquivalence2, long paramLong1, long paramLong2, long paramLong3, Weigher<K, V> paramWeigher, int paramInt, RemovalListener<? super K, ? super V> paramRemovalListener, Ticker paramTicker, CacheLoader<? super K, V> paramCacheLoader)
{
this.b = params1;
this.c = params2;
this.d = paramEquivalence1;
this.e = paramEquivalence2;
this.f = paramLong1;
this.g = paramLong2;
this.h = paramLong3;
this.i = paramWeigher;
this.j = paramInt;
this.k = paramRemovalListener;
if (paramTicker != Ticker.systemTicker())
{
params1 = paramTicker;
if (paramTicker != CacheBuilder.d) {}
}
else
{
params1 = null;
}
this.l = params1;
this.m = paramCacheLoader;
}
mm$n(mm<K, V> parammm)
{
this(parammm.h, parammm.i, parammm.f, parammm.g, parammm.m, parammm.l, parammm.j, parammm.k, parammm.e, parammm.p, parammm.q, parammm.t);
}
private void readObject(ObjectInputStream paramObjectInputStream)
throws IOException, ClassNotFoundException
{
paramObjectInputStream.defaultReadObject();
this.n = a().build();
}
private Object readResolve()
{
return this.n;
}
final CacheBuilder<K, V> a()
{
CacheBuilder localCacheBuilder = CacheBuilder.newBuilder().a(this.b).b(this.c);
Equivalence localEquivalence = this.d;
boolean bool;
if (localCacheBuilder.p == null)
{
bool = true;
Preconditions.checkState(bool, "key equivalence was already set to %s", new Object[] { localCacheBuilder.p });
localCacheBuilder.p = ((Equivalence)Preconditions.checkNotNull(localEquivalence));
localEquivalence = this.e;
if (localCacheBuilder.q != null) {
break label227;
}
bool = true;
label74:
Preconditions.checkState(bool, "value equivalence was already set to %s", new Object[] { localCacheBuilder.q });
localCacheBuilder.q = ((Equivalence)Preconditions.checkNotNull(localEquivalence));
localCacheBuilder = localCacheBuilder.concurrencyLevel(this.j).removalListener(this.k);
localCacheBuilder.e = false;
if (this.f > 0L) {
localCacheBuilder.expireAfterWrite(this.f, TimeUnit.NANOSECONDS);
}
if (this.g > 0L) {
localCacheBuilder.expireAfterAccess(this.g, TimeUnit.NANOSECONDS);
}
if (this.i == CacheBuilder.b.a) {
break label232;
}
localCacheBuilder.weigher(this.i);
if (this.h != -1L) {
localCacheBuilder.maximumWeight(this.h);
}
}
for (;;)
{
if (this.l != null) {
localCacheBuilder.ticker(this.l);
}
return localCacheBuilder;
bool = false;
break;
label227:
bool = false;
break label74;
label232:
if (this.h != -1L) {
localCacheBuilder.maximumSize(this.h);
}
}
}
protected Cache<K, V> delegate()
{
return this.n;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/mm$n.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/