no.java
5.96 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Preconditions;
import com.google.common.collect.ForwardingCollection;
import com.google.common.collect.ForwardingList;
import com.google.common.collect.ForwardingListIterator;
import com.google.common.collect.ForwardingSet;
import com.google.common.collect.ForwardingSortedSet;
import java.util.Collection;
import java.util.List;
import java.util.ListIterator;
import java.util.RandomAccess;
import java.util.Set;
import java.util.SortedSet;
@GwtCompatible
public final class no
{
public static <E> Collection<E> a(Collection<E> paramCollection, nn<E> paramnn)
{
if ((paramCollection instanceof SortedSet)) {
return a((SortedSet)paramCollection, paramnn);
}
if ((paramCollection instanceof Set)) {
return new no.e((Set)paramCollection, paramnn);
}
if ((paramCollection instanceof List)) {
return a((List)paramCollection, paramnn);
}
return new no.a(paramCollection, paramnn);
}
public static <E> List<E> a(List<E> paramList, nn<? super E> paramnn)
{
if ((paramList instanceof RandomAccess)) {
return new no.d(paramList, paramnn);
}
return new no.b(paramList, paramnn);
}
public static <E> SortedSet<E> a(SortedSet<E> paramSortedSet, nn<? super E> paramnn)
{
return new no.f(paramSortedSet, paramnn);
}
static final class a<E>
extends ForwardingCollection<E>
{
private final Collection<E> a;
private final nn<? super E> b;
public a(Collection<E> paramCollection, nn<? super E> paramnn)
{
this.a = ((Collection)Preconditions.checkNotNull(paramCollection));
this.b = ((nn)Preconditions.checkNotNull(paramnn));
}
public final boolean add(E paramE)
{
this.b.a(paramE);
return this.a.add(paramE);
}
public final boolean addAll(Collection<? extends E> paramCollection)
{
return this.a.addAll(no.b(paramCollection, this.b));
}
protected final Collection<E> delegate()
{
return this.a;
}
}
@GwtCompatible
static class b<E>
extends ForwardingList<E>
{
final List<E> a;
final nn<? super E> b;
b(List<E> paramList, nn<? super E> paramnn)
{
this.a = ((List)Preconditions.checkNotNull(paramList));
this.b = ((nn)Preconditions.checkNotNull(paramnn));
}
public void add(int paramInt, E paramE)
{
this.b.a(paramE);
this.a.add(paramInt, paramE);
}
public boolean add(E paramE)
{
this.b.a(paramE);
return this.a.add(paramE);
}
public boolean addAll(int paramInt, Collection<? extends E> paramCollection)
{
return this.a.addAll(paramInt, no.b(paramCollection, this.b));
}
public boolean addAll(Collection<? extends E> paramCollection)
{
return this.a.addAll(no.b(paramCollection, this.b));
}
protected List<E> delegate()
{
return this.a;
}
public ListIterator<E> listIterator()
{
return no.a(this.a.listIterator(), this.b);
}
public ListIterator<E> listIterator(int paramInt)
{
return no.a(this.a.listIterator(paramInt), this.b);
}
public E set(int paramInt, E paramE)
{
this.b.a(paramE);
return (E)this.a.set(paramInt, paramE);
}
public List<E> subList(int paramInt1, int paramInt2)
{
return no.a(this.a.subList(paramInt1, paramInt2), this.b);
}
}
static final class c<E>
extends ForwardingListIterator<E>
{
private final ListIterator<E> a;
private final nn<? super E> b;
public c(ListIterator<E> paramListIterator, nn<? super E> paramnn)
{
this.a = paramListIterator;
this.b = paramnn;
}
public final void add(E paramE)
{
this.b.a(paramE);
this.a.add(paramE);
}
protected final ListIterator<E> delegate()
{
return this.a;
}
public final void set(E paramE)
{
this.b.a(paramE);
this.a.set(paramE);
}
}
static final class d<E>
extends no.b<E>
implements RandomAccess
{
d(List<E> paramList, nn<? super E> paramnn)
{
super(paramnn);
}
}
static final class e<E>
extends ForwardingSet<E>
{
private final Set<E> a;
private final nn<? super E> b;
public e(Set<E> paramSet, nn<? super E> paramnn)
{
this.a = ((Set)Preconditions.checkNotNull(paramSet));
this.b = ((nn)Preconditions.checkNotNull(paramnn));
}
public final boolean add(E paramE)
{
this.b.a(paramE);
return this.a.add(paramE);
}
public final boolean addAll(Collection<? extends E> paramCollection)
{
return this.a.addAll(no.b(paramCollection, this.b));
}
protected final Set<E> delegate()
{
return this.a;
}
}
static final class f<E>
extends ForwardingSortedSet<E>
{
final SortedSet<E> a;
final nn<? super E> b;
f(SortedSet<E> paramSortedSet, nn<? super E> paramnn)
{
this.a = ((SortedSet)Preconditions.checkNotNull(paramSortedSet));
this.b = ((nn)Preconditions.checkNotNull(paramnn));
}
public final boolean add(E paramE)
{
this.b.a(paramE);
return this.a.add(paramE);
}
public final boolean addAll(Collection<? extends E> paramCollection)
{
return this.a.addAll(no.b(paramCollection, this.b));
}
protected final SortedSet<E> delegate()
{
return this.a;
}
public final SortedSet<E> headSet(E paramE)
{
return no.a(this.a.headSet(paramE), this.b);
}
public final SortedSet<E> subSet(E paramE1, E paramE2)
{
return no.a(this.a.subSet(paramE1, paramE2), this.b);
}
public final SortedSet<E> tailSet(E paramE)
{
return no.a(this.a.tailSet(paramE), this.b);
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/no.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/