Offset 266, 69 lines modifiedOffset 266, 27 lines modified
266 ····.line·19266 ····.line·19
267 ····:cond_8267 ····: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·p0269 ····return-object·p0
270 .end·method270 .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·2272 ····.locals·2
  
298 ····.line·6273 ····.line·1
299 ····array-length·v0,·p0274 ····array-length·v0,·p0
  
300 ····if-eqz·v0,·:cond_1275 ····if-eqz·v0,·:cond_1
  
301 ····const/4·v1,·0x1276 ····const/4·v1,·0x1
  
302 ····if-eq·v0,·v1,·:cond_0277 ····if-eq·v0,·v1,·:cond_0
  
303 ····.line·7278 ····.line·2
304 ····array-length·v0,·p0279 ····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·p0281 ····move-result-object·p0
  
307 ····check-cast·p0,·[Ljava/lang/Object;282 ····check-cast·p0,·[Ljava/lang/Object;
Offset 338, 25 lines modifiedOffset 296, 25 lines modified
338 ····move-result-object·p0296 ····move-result-object·p0
  
339 ····return-object·p0297 ····return-object·p0
  
340 ····:cond_0298 ····:cond_0
341 ····const/4·v0,·0x0299 ····const/4·v0,·0x0
  
342 ····.line·8300 ····.line·3
343 ····aget-object·p0,·p0,·v0301 ····aget-object·p0,·p0,·v0
  
344 ····.line·9302 ····.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;)V304 ····invoke-direct·{v0,·p0},·Lcom/google/common/collect/SingletonImmutableSet;-><init>(Ljava/lang/Object;)V
  
347 ····return-object·v0305 ····return-object·v0
  
348 ····.line·10306 ····.line·5
349 ····:cond_1307 ····: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·p0309 ····return-object·p0
352 .end·method310 .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 modifiedOffset 322, 14 lines modified
  
364 ····.line·1322 ····.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·v0324 ····return-object·v0
367 .end·method325 .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·methods326 #·virtual·methods
404 .method·public·asList()Lcom/google/common/collect/ImmutableList;327 .method·public·asList()Lcom/google/common/collect/ImmutableList;
405 ····.locals·1328 ····.locals·1
  
406 ····.line·1329 ····.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 modifiedOffset 359, 104 lines modified
  
462 ····move-result-object·p0359 ····move-result-object·p0
  
463 ····return-object·p0360 ····return-object·p0
464 .end·method361 .end·method
  
465 .method·public·equals(Ljava/lang/Object;)Z362 .method·public·equals(Ljava/lang/Object;)Z
466 ····.locals·2363 ····.locals·4
  
467 ····if-ne·p1,·p0,·:cond_0364 ····const/4·v0,·0x1
  
468 ····const/4·p0,·0x1365 ····if-ne·p1,·p0,·:cond_0
  
469 ····return·p0366 ····return·v0
  
470 ····.line·1367 ····.line·1
471 ····:cond_0368 ····: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_1371 ····if-eqz·v1,·:cond_1
  
474 ····.line·2372 ····.line·2
475 ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z373 ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z
  
476 ····move-result·v0374 ····move-result·v1
  
477 ····if-eqz·v0,·:cond_1375 ····if-eqz·v1,·:cond_1
  
478 ····move-object·v0,·p1376 ····move-object·v1,·p1
  
479 ····check-cast·v0,·Lcom/google/common/collect/ImmutableSet;377 ····check-cast·v1,·Lcom/google/common/collect/ImmutableSet;
  
480 ····.line·3378 ····.line·3
481 ····invoke-virtual·{v0},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z379 ····invoke-virtual·{v1},·Lcom/google/common/collect/ImmutableSet;->isHashCodeFast()Z
  
482 ····move-result·v0380 ····move-result·v1
  
483 ····if-eqz·v0,·:cond_1381 ····if-eqz·v1,·:cond_1
  
484 ····.line·4382 ····.line·4
485 ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->hashCode()I383 ····invoke-virtual·{p0},·Lcom/google/common/collect/ImmutableSet;->hashCode()I
  
486 ····move-result·v0384 ····move-result·v1
  
487 ····invoke-virtual·{p1},·Ljava/lang/Object;->hashCode()I385 ····invoke-virtual·{p1},·Ljava/lang/Object;->hashCode()I
  
488 ····move-result·v1386 ····move-result·v3
  
489 ····if-eq·v0,·v1,·:cond_1387 ····if-eq·v1,·v3,·:cond_1
  
490 ····const/4·p0,·0x0388 ····return·v2
  
491 ····return·p0389 ····:cond_1
 390 ····if-ne·p0,·p1,·:cond_2
  
 391 ····goto·:goto_0
  
492 ····.line·5392 ····.line·5
493 ····:cond_1393 ····:cond_2
494 ····invoke-static·{p0,·p1},·Lcom/google/common/collect/Sets;->equalsImpl(Ljava/util/Set;Ljava/lang/Object;)Z394 ····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·p0406 ····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·p0416 ····return·v0
497 .end·method417 .end·method
  
498 .method·public·hashCode()I418 .method·public·hashCode()I
499 ····.locals·0419 ····.locals·0
  
500 ····.line·1420 ····.line·1
501 ····invoke-static·{p0},·Lcom/google/common/collect/Sets;->hashCodeImpl(Ljava/util/Set;)I421 ····invoke-static·{p0},·Lcom/google/common/collect/Sets;->hashCodeImpl(Ljava/util/Set;)I