| | | |
Offset 266, 69 lines modified | Offset 266, 27 lines modified |
266 | ····.line·19 | 266 | ····.line·19 |
267 | ····:cond_8 | 267 | ····:cond_8 |
268 | ····sget-object·p0,·Lcom/google/common/collect/RegularImmutableSet;->EMPTY:Lcom/google/common/collect/RegularImmutableSet; | 268 | ····sget-object·p0,·Lcom/google/common/collect/RegularImmutableSet;->EMPTY:Lcom/google/common/collect/RegularImmutableSet; |
| |
269 | ····return-object·p0 | 269 | ····return-object·p0 |
270 | .end·method | 270 | .end·method |
| |
271 | .method·public·static·copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet; | |
272 | ····.locals·2 | |
| |
273 | ····.line·1 | |
274 | ····instance-of·v0,·p0,·Lcom/google/common/collect/ImmutableSet; | |
| |
275 | ····if-eqz·v0,·:cond_0 | |
| |
276 | ····instance-of·v0,·p0,·Ljava/util/SortedSet; | |
| |
277 | ····if-nez·v0,·:cond_0 | |
| |
278 | ····.line·2 | |
279 | ····move-object·v0,·p0 | |
| |
280 | ····check-cast·v0,·Lcom/google/common/collect/ImmutableSet; | |
| |
281 | ····.line·3 | |
282 | ····invoke-virtual·{v0},·Lcom/google/common/collect/ImmutableCollection;->isPartialView()Z | |
| |
283 | ····move-result·v1 | |
| |
284 | ····if-nez·v1,·:cond_0 | |
| |
285 | ····return-object·v0 | |
| |
286 | ····.line·4 | |
287 | ····:cond_0 | |
288 | ····invoke-interface·{p0},·Ljava/util/Collection;->toArray()[Ljava/lang/Object; | |
| |
289 | ····move-result-object·p0 | |
| |
290 | ····.line·5 | |
291 | ····array-length·v0,·p0 | |
| |
292 | ····invoke-static·{v0,·p0},·Lcom/google/common/collect/ImmutableSet;->construct(I[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; | |
| |
293 | ····move-result-object·p0 | |
| |
294 | ····return-object·p0 | |
295 | .end·method | |
| |
296 | .method·public·static·copyOf([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; | 271 | .method·public·static·copyOf([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; |
297 | ····.locals·2 | 272 | ····.locals·2 |
| |
298 | ····.line·6 | 273 | ····.line·1 |
299 | ····array-length·v0,·p0 | 274 | ····array-length·v0,·p0 |
| |
300 | ····if-eqz·v0,·:cond_1 | 275 | ····if-eqz·v0,·:cond_1 |
| |
301 | ····const/4·v1,·0x1 | 276 | ····const/4·v1,·0x1 |
| |
302 | ····if-eq·v0,·v1,·:cond_0 | 277 | ····if-eq·v0,·v1,·:cond_0 |
| |
303 | ····.line·7 | 278 | ····.line·2 |
304 | ····array-length·v0,·p0 | 279 | ····array-length·v0,·p0 |
| |
305 | ····invoke-virtual·{p0},·[Ljava/lang/Object;->clone()Ljava/lang/Object; | 280 | ····invoke-virtual·{p0},·[Ljava/lang/Object;->clone()Ljava/lang/Object; |
| |
306 | ····move-result-object·p0 | 281 | ····move-result-object·p0 |
| |
307 | ····check-cast·p0,·[Ljava/lang/Object; | 282 | ····check-cast·p0,·[Ljava/lang/Object; |
Offset 338, 25 lines modified | Offset 296, 25 lines modified |
338 | ····move-result-object·p0 | 296 | ····move-result-object·p0 |
| |
339 | ····return-object·p0 | 297 | ····return-object·p0 |
| |
340 | ····:cond_0 | 298 | ····:cond_0 |
341 | ····const/4·v0,·0x0 | 299 | ····const/4·v0,·0x0 |
| |
342 | ····.line·8 | 300 | ····.line·3 |
343 | ····aget-object·p0,·p0,·v0 | 301 | ····aget-object·p0,·p0,·v0 |
| |
344 | ····.line·9 | 302 | ····.line·4 |
345 | ····new-instance·v0,·Lcom/google/common/collect/SingletonImmutableSet; | 303 | ····new-instance·v0,·Lcom/google/common/collect/SingletonImmutableSet; |
| |
346 | ····invoke-direct·{v0,·p0},·Lcom/google/common/collect/SingletonImmutableSet;-><init>(Ljava/lang/Object;)V | 304 | ····invoke-direct·{v0,·p0},·Lcom/google/common/collect/SingletonImmutableSet;-><init>(Ljava/lang/Object;)V |
| |
347 | ····return-object·v0 | 305 | ····return-object·v0 |
| |
348 | ····.line·10 | 306 | ····.line·5 |
349 | ····:cond_1 | 307 | ····:cond_1 |
350 | ····sget-object·p0,·Lcom/google/common/collect/RegularImmutableSet;->EMPTY:Lcom/google/common/collect/RegularImmutableSet; | 308 | ····sget-object·p0,·Lcom/google/common/collect/RegularImmutableSet;->EMPTY:Lcom/google/common/collect/RegularImmutableSet; |
| |
351 | ····return-object·p0 | 309 | ····return-object·p0 |
352 | .end·method | 310 | .end·method |
| |
353 | .method·public·static·of()Lcom/google/common/collect/ImmutableSet; | 311 | .method·public·static·of()Lcom/google/common/collect/ImmutableSet; |
Offset 364, 75 lines modified | Offset 322, 14 lines modified |
| |
364 | ····.line·1 | 322 | ····.line·1 |
365 | ····sget-object·v0,·Lcom/google/common/collect/RegularImmutableSet;->EMPTY:Lcom/google/common/collect/RegularImmutableSet; | 323 | ····sget-object·v0,·Lcom/google/common/collect/RegularImmutableSet;->EMPTY:Lcom/google/common/collect/RegularImmutableSet; |
| |
366 | ····return-object·v0 | 324 | ····return-object·v0 |
367 | .end·method | 325 | .end·method |
| |
368 | .method·public·static·of(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; | |
369 | ····.locals·1 | |
| |
370 | ····.line·2 | |
371 | ····new-instance·v0,·Lcom/google/common/collect/SingletonImmutableSet; | |
| |
372 | ····invoke-direct·{v0,·p0},·Lcom/google/common/collect/SingletonImmutableSet;-><init>(Ljava/lang/Object;)V | |
| |
373 | ····return-object·v0 | |
374 | .end·method | |
| |
375 | .method·public·static·of(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; | |
376 | ····.locals·3 | |
| |
377 | ····const/4·v0,·0x2 | |
| |
378 | ····new-array·v1,·v0,·[Ljava/lang/Object; | |
| |
379 | ····const/4·v2,·0x0 | |
| |
380 | ····aput-object·p0,·v1,·v2 | |
| |
381 | ····const/4·p0,·0x1 | |
| |
382 | ····aput-object·p1,·v1,·p0 | |
| |
383 | ····.line·3 | |
384 | ····invoke-static·{v0,·v1},·Lcom/google/common/collect/ImmutableSet;->construct(I[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; | |
| |
385 | ····move-result-object·p0 | |
| |
386 | ····return-object·p0 | |
387 | .end·method | |
| |
388 | .method·public·static·of(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; | |
389 | ····.locals·3 | |
| |
390 | ····const/4·v0,·0x3 | |
| |
391 | ····new-array·v1,·v0,·[Ljava/lang/Object; | |
| |
392 | ····const/4·v2,·0x0 | |
| |
393 | ····aput-object·p0,·v1,·v2 | |
| |
394 | ····const/4·p0,·0x1 | |
| |
395 | ····aput-object·p1,·v1,·p0 | |
| |
396 | ····const/4·p0,·0x2 | |
| |
397 | ····aput-object·p2,·v1,·p0 | |
| |
398 | ····.line·4 | |
399 | ····invoke-static·{v0,·v1},·Lcom/google/common/collect/ImmutableSet;->construct(I[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; | |
| |
400 | ····move-result-object·p0 | |
| |
401 | ····return-object·p0 | |
402 | .end·method | |
| |
| |
403 | #·virtual·methods | 326 | #·virtual·methods |
404 | .method·public·asList()Lcom/google/common/collect/ImmutableList; | 327 | .method·public·asList()Lcom/google/common/collect/ImmutableList; |
405 | ····.locals·1 | 328 | ····.locals·1 |
| |
406 | ····.line·1 | 329 | ····.line·1 |
407 | ····iget-object·v0,·p0,·Lcom/google/common/collect/ImmutableSet;->asList:Lcom/google/common/collect/ImmutableList; | 330 | ····iget-object·v0,·p0,·Lcom/google/common/collect/ImmutableSet;->asList:Lcom/google/common/collect/ImmutableList; |
Offset 462, 68 lines modified | Offset 359, 104 lines modified |
| |
462 | ····move-result-object·p0 | 359 | ····move-result-object·p0 |
| |
463 | ····return-object·p0 | 360 | ····return-object·p0 |
464 | .end·method | 361 | .end·method |
| |
465 | .method·public·equals(Ljava/lang/Object;)Z | 362 | .method·public·equals(Ljava/lang/Object;)Z |
466 | ····.locals·2 | 363 | ····.locals·4 |
| |
467 | ····if-ne·p1,·p0,·:cond_0 | 364 | ····const/4·v0,·0x1 |
| |
468 | ····const/4·p0,·0x1 | 365 | ····if-ne·p1,·p0,·:cond_0 |
| |
469 | ····return·p0 | 366 | ····return·v0 |
| |
470 | ····.line·1 | 367 | ····.line·1 |
471 | ····:cond_0 | 368 | ····:cond_0 |
472 | ····instance-of·v0,·p1,·Lcom/google/common/collect/ImmutableSet; | 369 | ····instance-of·v1,·p1,·Lcom/google/common/collect/ImmutableSet; |
| |
| 370 | ····const/4·v2,·0x0 |
| |
473 | ····if-eqz·v0,·:cond_1 | 371 | ····if-eqz·v1,·:cond_1 |
| |
474 | ····.line·2 | 372 | ····.line·2 |
475 | ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z | 373 | ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z |
| |
476 | ····move-result·v0 | 374 | ····move-result·v1 |
| |
477 | ····if-eqz·v0,·:cond_1 | 375 | ····if-eqz·v1,·:cond_1 |
| |
478 | ····move-object·v0,·p1 | 376 | ····move-object·v1,·p1 |
| |
479 | ····check-cast·v0,·Lcom/google/common/collect/ImmutableSet; | 377 | ····check-cast·v1,·Lcom/google/common/collect/ImmutableSet; |
| |
480 | ····.line·3 | 378 | ····.line·3 |
481 | ····invoke-virtual·{v0},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z | 379 | ····invoke-virtual·{v1},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z |
| |
482 | ····move-result·v0 | 380 | ····move-result·v1 |
| |
483 | ····if-eqz·v0,·:cond_1 | 381 | ····if-eqz·v1,·:cond_1 |
| |
484 | ····.line·4 | 382 | ····.line·4 |
485 | ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->hashCode()I | 383 | ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->hashCode()I |
| |
486 | ····move-result·v0 | 384 | ····move-result·v1 |
| |
487 | ····invoke-virtual·{p1},·Ljava/lang/Object;->hashCode()I | 385 | ····invoke-virtual·{p1},·Ljava/lang/Object;->hashCode()I |
| |
488 | ····move-result·v1 | 386 | ····move-result·v3 |
| |
489 | ····if-eq·v0,·v1,·:cond_1 | 387 | ····if-eq·v1,·v3,·:cond_1 |
| |
490 | ····const/4·p0,·0x0 | 388 | ····return·v2 |
| |
491 | ····return·p0 | 389 | ····:cond_1 |
| 390 | ····if-ne·p0,·p1,·:cond_2 |
| |
| 391 | ····goto·:goto_0 |
| |
492 | ····.line·5 | 392 | ····.line·5 |
493 | ····:cond_1 | 393 | ····:cond_2 |
494 | ····invoke-static·{p0,·p1},·Lcom/google/common/collect/Sets;->equalsImpl(Ljava/util/Set;Ljava/lang/Object;)Z | 394 | ····instance-of·v1,·p1,·Ljava/util/Set; |
| |
| 395 | ····if-eqz·v1,·:cond_3 |
| |
| 396 | ····.line·6 |
| 397 | ····check-cast·p1,·Ljava/util/Set; |
| |
| 398 | ····.line·7 |
| 399 | ····:try_start_0 |
| 400 | ····invoke-interface·{p0},·Ljava/util/Set;->size()I |
| |
| 401 | ····move-result·v1 |
| |
| 402 | ····invoke-interface·{p1},·Ljava/util/Set;->size()I |
| |
| 403 | ····move-result·v3 |
| |
| 404 | ····if-ne·v1,·v3,·:cond_3 |
| |
| 405 | ····invoke-interface·{p0,·p1},·Ljava/util/Set;->containsAll(Ljava/util/Collection;)Z |
| |
495 | ····move-result·p0 | 406 | ····move-result·p0 |
| 407 | ····:try_end_0 |
| 408 | ····.catch·Ljava/lang/NullPointerException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| 409 | ····.catch·Ljava/lang/ClassCastException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
| 410 | ····if-eqz·p0,·:cond_3 |
| |
| 411 | ····goto·:goto_0 |
| |
| 412 | ····:catch_0 |
| 413 | ····:cond_3 |
| 414 | ····move·v0,·v2 |
| |
| 415 | ····:goto_0 |
496 | ····return·p0 | 416 | ····return·v0 |
497 | .end·method | 417 | .end·method |
| |
498 | .method·public·hashCode()I | 418 | .method·public·hashCode()I |
499 | ····.locals·0 | 419 | ····.locals·0 |
| |
500 | ····.line·1 | 420 | ····.line·1 |
501 | ····invoke-static·{p0},·Lcom/google/common/collect/Sets;->hashCodeImpl(Ljava/util/Set;)I | 421 | ····invoke-static·{p0},·Lcom/google/common/collect/Sets;->hashCodeImpl(Ljava/util/Set;)I |