pu.java
1.84 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
import com.google.common.annotations.GwtCompatible;
import com.google.common.collect.ImmutableBiMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Maps;
import java.util.Map.Entry;
import javax.annotation.Nullable;
@GwtCompatible(emulated=true, serializable=true)
public final class pu<K, V>
extends ImmutableBiMap<K, V>
{
final transient K a;
final transient V b;
transient ImmutableBiMap<V, K> c;
public pu(K paramK, V paramV)
{
nj.a(paramK, paramV);
this.a = paramK;
this.b = paramV;
}
private pu(K paramK, V paramV, ImmutableBiMap<V, K> paramImmutableBiMap)
{
this.a = paramK;
this.b = paramV;
this.c = paramImmutableBiMap;
}
final boolean b()
{
return false;
}
final ImmutableSet<K> c()
{
return ImmutableSet.of(this.a);
}
public final boolean containsKey(@Nullable Object paramObject)
{
return this.a.equals(paramObject);
}
public final boolean containsValue(@Nullable Object paramObject)
{
return this.b.equals(paramObject);
}
final ImmutableSet<Map.Entry<K, V>> d()
{
return ImmutableSet.of(Maps.immutableEntry(this.a, this.b));
}
public final V get(@Nullable Object paramObject)
{
if (this.a.equals(paramObject)) {
return (V)this.b;
}
return null;
}
public final ImmutableBiMap<V, K> inverse()
{
ImmutableBiMap localImmutableBiMap = this.c;
Object localObject = localImmutableBiMap;
if (localImmutableBiMap == null)
{
localObject = new pu(this.b, this.a, this);
this.c = ((ImmutableBiMap)localObject);
}
return (ImmutableBiMap<V, K>)localObject;
}
public final int size()
{
return 1;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/pu.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/