mm$l.java
1.69 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
import com.google.common.base.Preconditions;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
import com.google.common.collect.ImmutableMap;
import com.google.common.util.concurrent.UncheckedExecutionException;
import java.util.concurrent.ExecutionException;
public final class mm$l<K, V>
extends mm.m<K, V>
implements LoadingCache<K, V>
{
private static final long serialVersionUID = 1L;
public mm$l(CacheBuilder<? super K, ? super V> paramCacheBuilder, CacheLoader<? super K, V> paramCacheLoader)
{
super(new mm(paramCacheBuilder, (CacheLoader)Preconditions.checkNotNull(paramCacheLoader)), (byte)0);
}
public final V apply(K paramK)
{
return (V)getUnchecked(paramK);
}
public final V get(K paramK)
throws ExecutionException
{
mm localmm = this.a;
return (V)localmm.a(paramK, localmm.t);
}
public final ImmutableMap<K, V> getAll(Iterable<? extends K> paramIterable)
throws ExecutionException
{
return this.a.a(paramIterable);
}
public final V getUnchecked(K paramK)
{
try
{
paramK = get(paramK);
return paramK;
}
catch (ExecutionException paramK)
{
throw new UncheckedExecutionException(paramK.getCause());
}
}
public final void refresh(K paramK)
{
mm localmm = this.a;
int i = localmm.a(Preconditions.checkNotNull(paramK));
localmm.a(i).a(paramK, i, localmm.t, false);
}
final Object writeReplace()
{
return new mm.j(this.a);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/mm$l.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/