om.java
7.44 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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
import com.google.common.annotations.GwtCompatible;
import com.google.common.base.Objects;
import com.google.common.base.Preconditions;
import com.google.common.collect.BoundType;
import java.io.Serializable;
import java.util.Comparator;
import javax.annotation.Nullable;
@GwtCompatible(serializable=true)
public final class om<T>
implements Serializable
{
public final Comparator<? super T> a;
public final boolean b;
@Nullable
public final T c;
public final BoundType d;
public final boolean e;
@Nullable
public final T f;
public final BoundType g;
public om(Comparator<? super T> paramComparator, boolean paramBoolean1, @Nullable T paramT1, BoundType paramBoundType1, boolean paramBoolean2, @Nullable T paramT2, BoundType paramBoundType2)
{
this.a = ((Comparator)Preconditions.checkNotNull(paramComparator));
this.b = paramBoolean1;
this.e = paramBoolean2;
this.c = paramT1;
this.d = ((BoundType)Preconditions.checkNotNull(paramBoundType1));
this.f = paramT2;
this.g = ((BoundType)Preconditions.checkNotNull(paramBoundType2));
if (paramBoolean1) {
paramComparator.compare(paramT1, paramT1);
}
if (paramBoolean2) {
paramComparator.compare(paramT2, paramT2);
}
int i;
if ((paramBoolean1) && (paramBoolean2))
{
i = paramComparator.compare(paramT1, paramT2);
if (i > 0) {
break label172;
}
paramBoolean1 = true;
Preconditions.checkArgument(paramBoolean1, "lowerEndpoint (%s) > upperEndpoint (%s)", new Object[] { paramT1, paramT2 });
if (i == 0)
{
if (paramBoundType1 == BoundType.OPEN) {
break label177;
}
i = 1;
label155:
if (paramBoundType2 == BoundType.OPEN) {
break label183;
}
}
}
for (;;)
{
Preconditions.checkArgument(i | j);
return;
label172:
paramBoolean1 = false;
break;
label177:
i = 0;
break label155;
label183:
j = 0;
}
}
public static <T> om<T> a(Comparator<? super T> paramComparator)
{
return new om(paramComparator, false, null, BoundType.OPEN, false, null, BoundType.OPEN);
}
public final om<T> a(om<T> paramom)
{
Preconditions.checkNotNull(paramom);
Preconditions.checkArgument(this.a.equals(paramom.a));
boolean bool2 = this.b;
Object localObject1 = this.c;
BoundType localBoundType1 = this.d;
boolean bool1;
label66:
boolean bool3;
Object localObject2;
BoundType localBoundType2;
label96:
label111:
int i;
if (!this.b)
{
bool1 = paramom.b;
localObject1 = paramom.c;
localBoundType1 = paramom.d;
bool2 = bool1;
bool3 = this.e;
localObject2 = this.f;
localBoundType2 = this.g;
if (this.e) {
break label244;
}
bool1 = paramom.e;
localObject2 = paramom.f;
localBoundType2 = paramom.g;
paramom = (om<T>)localObject2;
if ((!bool2) || (!bool1)) {
break label302;
}
i = this.a.compare(localObject1, paramom);
if ((i <= 0) && ((i != 0) || (localBoundType1 != BoundType.OPEN) || (localBoundType2 != BoundType.OPEN))) {
break label302;
}
localBoundType1 = BoundType.OPEN;
localBoundType2 = BoundType.CLOSED;
localObject1 = paramom;
}
label244:
label302:
for (;;)
{
return new om(this.a, bool2, localObject1, localBoundType1, bool1, paramom, localBoundType2);
if (paramom.b)
{
i = this.a.compare(this.c, paramom.c);
bool1 = bool2;
if (i < 0) {
break;
}
if (i == 0)
{
bool1 = bool2;
if (paramom.d == BoundType.OPEN) {
break;
}
}
}
break label66;
if (paramom.e)
{
i = this.a.compare(this.f, paramom.f);
bool1 = bool3;
if (i > 0) {
break label96;
}
if (i == 0)
{
bool1 = bool3;
if (paramom.g == BoundType.OPEN) {
break label96;
}
}
}
bool1 = bool3;
paramom = (om<T>)localObject2;
break label111;
}
}
public final boolean a(@Nullable T paramT)
{
int k = 1;
if (!this.b) {
return false;
}
Object localObject = this.c;
int j = this.a.compare(paramT, localObject);
int i;
if (j < 0)
{
i = 1;
if (j != 0) {
break label65;
}
j = 1;
label43:
if (this.d != BoundType.OPEN) {
break label70;
}
}
for (;;)
{
return i | j & k;
i = 0;
break;
label65:
j = 0;
break label43;
label70:
k = 0;
}
}
public final boolean b(@Nullable T paramT)
{
int k = 1;
if (!this.e) {
return false;
}
Object localObject = this.f;
int j = this.a.compare(paramT, localObject);
int i;
if (j > 0)
{
i = 1;
if (j != 0) {
break label65;
}
j = 1;
label43:
if (this.g != BoundType.OPEN) {
break label70;
}
}
for (;;)
{
return i | j & k;
i = 0;
break;
label65:
j = 0;
break label43;
label70:
k = 0;
}
}
public final boolean c(@Nullable T paramT)
{
return (!a(paramT)) && (!b(paramT));
}
public final boolean equals(@Nullable Object paramObject)
{
boolean bool2 = false;
boolean bool1 = bool2;
if ((paramObject instanceof om))
{
paramObject = (om)paramObject;
bool1 = bool2;
if (this.a.equals(((om)paramObject).a))
{
bool1 = bool2;
if (this.b == ((om)paramObject).b)
{
bool1 = bool2;
if (this.e == ((om)paramObject).e)
{
bool1 = bool2;
if (this.d.equals(((om)paramObject).d))
{
bool1 = bool2;
if (this.g.equals(((om)paramObject).g))
{
bool1 = bool2;
if (Objects.equal(this.c, ((om)paramObject).c))
{
bool1 = bool2;
if (Objects.equal(this.f, ((om)paramObject).f)) {
bool1 = true;
}
}
}
}
}
}
}
}
return bool1;
}
public final int hashCode()
{
return Objects.hashCode(new Object[] { this.a, this.c, this.d, this.f, this.g });
}
public final String toString()
{
Object localObject = new StringBuilder().append(this.a).append(":");
if (this.d == BoundType.CLOSED)
{
c1 = '[';
StringBuilder localStringBuilder = ((StringBuilder)localObject).append(c1);
if (!this.b) {
break label108;
}
localObject = this.c;
label51:
localStringBuilder = localStringBuilder.append(localObject).append(',');
if (!this.e) {
break label114;
}
localObject = this.f;
label74:
localObject = localStringBuilder.append(localObject);
if (this.g != BoundType.CLOSED) {
break label120;
}
}
label108:
label114:
label120:
for (char c1 = ']';; c1 = ')')
{
return c1;
c1 = '(';
break;
localObject = "-∞";
break label51;
localObject = "∞";
break label74;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/om.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/