ArrayMap.java
3 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
package android.support.v4.util;
import ed;
import ed.b;
import ed.e;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
public class ArrayMap<K, V>
extends SimpleArrayMap<K, V>
implements Map<K, V>
{
ed<K, V> a;
public ArrayMap() {}
public ArrayMap(int paramInt)
{
super(paramInt);
}
public ArrayMap(SimpleArrayMap paramSimpleArrayMap)
{
super(paramSimpleArrayMap);
}
private ed<K, V> a()
{
if (this.a == null) {
this.a = new ed()
{
protected final int a()
{
return ArrayMap.this.h;
}
protected final int a(Object paramAnonymousObject)
{
return ArrayMap.this.indexOfKey(paramAnonymousObject);
}
protected final Object a(int paramAnonymousInt1, int paramAnonymousInt2)
{
return ArrayMap.this.g[((paramAnonymousInt1 << 1) + paramAnonymousInt2)];
}
protected final V a(int paramAnonymousInt, V paramAnonymousV)
{
return (V)ArrayMap.this.setValueAt(paramAnonymousInt, paramAnonymousV);
}
protected final void a(int paramAnonymousInt)
{
ArrayMap.this.removeAt(paramAnonymousInt);
}
protected final void a(K paramAnonymousK, V paramAnonymousV)
{
ArrayMap.this.put(paramAnonymousK, paramAnonymousV);
}
protected final int b(Object paramAnonymousObject)
{
return ArrayMap.this.a(paramAnonymousObject);
}
protected final Map<K, V> b()
{
return ArrayMap.this;
}
protected final void c()
{
ArrayMap.this.clear();
}
};
}
return this.a;
}
public boolean containsAll(Collection<?> paramCollection)
{
return ed.a(this, paramCollection);
}
public Set<Map.Entry<K, V>> entrySet()
{
ed localed = a();
if (localed.b == null) {
localed.b = new ed.b(localed);
}
return localed.b;
}
public Set<K> keySet()
{
return a().d();
}
public void putAll(Map<? extends K, ? extends V> paramMap)
{
ensureCapacity(this.h + paramMap.size());
paramMap = paramMap.entrySet().iterator();
while (paramMap.hasNext())
{
Map.Entry localEntry = (Map.Entry)paramMap.next();
put(localEntry.getKey(), localEntry.getValue());
}
}
public boolean removeAll(Collection<?> paramCollection)
{
return ed.b(this, paramCollection);
}
public boolean retainAll(Collection<?> paramCollection)
{
return ed.c(this, paramCollection);
}
public Collection<V> values()
{
ed localed = a();
if (localed.d == null) {
localed.d = new ed.e(localed);
}
return localed.d;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/android/support/v4/util/ArrayMap.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/