pn.java
2.83 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
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.ImmutableSortedMap;
import com.google.common.collect.ImmutableSortedSet;
import com.google.common.collect.UnmodifiableIterator;
import java.util.Map.Entry;
import javax.annotation.Nullable;
@GwtCompatible(emulated=true)
public final class pn<K, V>
extends ImmutableSortedMap<K, V>
{
private final transient pp<K> a;
private final transient ImmutableList<V> b;
public pn(pp<K> parampp, ImmutableList<V> paramImmutableList)
{
this.a = parampp;
this.b = paramImmutableList;
}
private pn(pp<K> parampp, ImmutableList<V> paramImmutableList, ImmutableSortedMap<K, V> paramImmutableSortedMap)
{
super(paramImmutableSortedMap);
this.a = parampp;
this.b = paramImmutableList;
}
private ImmutableSortedMap<K, V> a(int paramInt1, int paramInt2)
{
if ((paramInt1 == 0) && (paramInt2 == size())) {
return this;
}
if (paramInt1 == paramInt2) {
return a(comparator());
}
return a(this.a.a(paramInt1, paramInt2), this.b.subList(paramInt1, paramInt2));
}
final ImmutableSortedMap<K, V> a()
{
return new pn((pp)this.a.descendingSet(), this.b.reverse(), this);
}
final ImmutableSet<Map.Entry<K, V>> d()
{
return new pn.a((byte)0);
}
public final V get(@Nullable Object paramObject)
{
int i = this.a.a(paramObject);
if (i == -1) {
return null;
}
return (V)this.b.get(i);
}
public final ImmutableSortedMap<K, V> headMap(K paramK, boolean paramBoolean)
{
return a(0, this.a.c(Preconditions.checkNotNull(paramK), paramBoolean));
}
public final ImmutableSortedSet<K> keySet()
{
return this.a;
}
public final ImmutableSortedMap<K, V> tailMap(K paramK, boolean paramBoolean)
{
return a(this.a.d(Preconditions.checkNotNull(paramK), paramBoolean), size());
}
public final ImmutableCollection<V> values()
{
return this.b;
}
final class a
extends ou<K, V>
{
private a() {}
final ImmutableMap<K, V> b()
{
return pn.this;
}
final ImmutableList<Map.Entry<K, V>> c()
{
new op()
{
private final ImmutableList<K> b = pn.this.keySet().asList();
final ImmutableCollection<Map.Entry<K, V>> b()
{
return pn.a.this;
}
};
}
public final UnmodifiableIterator<Map.Entry<K, V>> iterator()
{
return asList().iterator();
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/pn.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/