oe$a.java
5.28 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
import com.google.common.base.Predicates;
import com.google.common.collect.AbstractIterator;
import com.google.common.collect.Iterators;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Maps.ac;
import com.google.common.collect.Maps.f;
import com.google.common.collect.Maps.m;
import com.google.common.collect.Maps.n;
import com.google.common.collect.Multimap;
import com.google.common.collect.SetMultimap;
import com.google.common.collect.Sets;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import javax.annotation.Nullable;
final class oe$a
extends Maps.m<K, Collection<V>>
{
oe$a(oe paramoe) {}
private Collection<V> b(@Nullable Object paramObject)
{
Collection localCollection = (Collection)this.a.a.asMap().get(paramObject);
if (localCollection == null) {
paramObject = null;
}
do
{
return (Collection<V>)paramObject;
localCollection = oe.a(localCollection, new oe.c(this.a, paramObject));
paramObject = localCollection;
} while (!localCollection.isEmpty());
return null;
}
public final Collection<V> a(@Nullable Object paramObject)
{
Object localObject1 = (Collection)this.a.a.asMap().get(paramObject);
if (localObject1 == null) {
return null;
}
ArrayList localArrayList = Lists.newArrayList();
localObject1 = ((Collection)localObject1).iterator();
while (((Iterator)localObject1).hasNext())
{
Object localObject2 = ((Iterator)localObject1).next();
if (oe.a(this.a, paramObject, localObject2))
{
((Iterator)localObject1).remove();
localArrayList.add(localObject2);
}
}
if (localArrayList.isEmpty()) {
return null;
}
if ((this.a.a instanceof SetMultimap)) {
return Collections.unmodifiableSet(Sets.newLinkedHashSet(localArrayList));
}
return Collections.unmodifiableList(localArrayList);
}
final Set<Map.Entry<K, Collection<V>>> a()
{
new Maps.f()
{
final Map<K, Collection<V>> a()
{
return oe.a.this;
}
public final Iterator<Map.Entry<K, Collection<V>>> iterator()
{
new AbstractIterator()
{
final Iterator<Map.Entry<K, Collection<V>>> a = oe.a.this.a.a.asMap().entrySet().iterator();
};
}
public final boolean removeAll(Collection<?> paramAnonymousCollection)
{
return oe.a.this.a.a(Predicates.in(paramAnonymousCollection));
}
public final boolean retainAll(Collection<?> paramAnonymousCollection)
{
return oe.a.this.a.a(Predicates.not(Predicates.in(paramAnonymousCollection)));
}
public final int size()
{
return Iterators.size(iterator());
}
};
}
final Collection<Collection<V>> b_()
{
new Maps.ac(this)
{
public final boolean remove(@Nullable Object paramAnonymousObject)
{
if ((paramAnonymousObject instanceof Collection))
{
paramAnonymousObject = (Collection)paramAnonymousObject;
Iterator localIterator = oe.a.this.a.a.asMap().entrySet().iterator();
while (localIterator.hasNext())
{
Map.Entry localEntry = (Map.Entry)localIterator.next();
Object localObject = localEntry.getKey();
localObject = oe.a((Collection)localEntry.getValue(), new oe.c(oe.a.this.a, localObject));
if ((!((Collection)localObject).isEmpty()) && (((Collection)paramAnonymousObject).equals(localObject)))
{
if (((Collection)localObject).size() == ((Collection)localEntry.getValue()).size()) {
localIterator.remove();
}
for (;;)
{
return true;
((Collection)localObject).clear();
}
}
}
}
return false;
}
public final boolean removeAll(Collection<?> paramAnonymousCollection)
{
return oe.a.this.a.a(Maps.b(Predicates.in(paramAnonymousCollection)));
}
public final boolean retainAll(Collection<?> paramAnonymousCollection)
{
return oe.a.this.a.a(Maps.b(Predicates.not(Predicates.in(paramAnonymousCollection))));
}
};
}
public final void clear()
{
this.a.clear();
}
public final boolean containsKey(@Nullable Object paramObject)
{
return b(paramObject) != null;
}
final Set<K> e()
{
new Maps.n(this)
{
public final boolean remove(@Nullable Object paramAnonymousObject)
{
return oe.a.this.a(paramAnonymousObject) != null;
}
public final boolean removeAll(Collection<?> paramAnonymousCollection)
{
return oe.a.this.a.a(Maps.a(Predicates.in(paramAnonymousCollection)));
}
public final boolean retainAll(Collection<?> paramAnonymousCollection)
{
return oe.a.this.a.a(Maps.a(Predicates.not(Predicates.in(paramAnonymousCollection))));
}
};
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/oe$a.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/