| | | |
Offset 199, 78 lines modified | Offset 199, 14 lines modified |
| |
199 | ····move-result-object·p1 | 199 | ····move-result-object·p1 |
| |
200 | ····:cond_0 | 200 | ····:cond_0 |
201 | ····return-object·p1 | 201 | ····return-object·p1 |
202 | .end·method | 202 | .end·method |
| |
203 | .method·public·static·partition(Ljava/util/Iterator;I)Lcom/google/common/collect/UnmodifiableIterator; | |
204 | ····.locals·1 | |
205 | ····.annotation·system·Ldalvik/annotation/Signature; | |
206 | ········value·=·{ | |
207 | ············"<T:", | |
208 | ············"Ljava/lang/Object;", | |
209 | ············">(", | |
210 | ············"Ljava/util/Iterator<", | |
211 | ············"TT;>;I)", | |
212 | ············"Lcom/google/common/collect/UnmodifiableIterator<", | |
213 | ············"Ljava/util/List<", | |
214 | ············"TT;>;>;" | |
215 | ········} | |
216 | ····.end·annotation | |
| |
217 | ····const/4·v0,·0x0 | |
| |
218 | ····.line·572 | |
219 | ····invoke-static·{p0,·p1,·v0},·Lcom/google/common/collect/Iterators;->partitionImpl(Ljava/util/Iterator;IZ)Lcom/google/common/collect/UnmodifiableIterator; | |
| |
220 | ····move-result-object·p0 | |
| |
221 | ····return-object·p0 | |
222 | .end·method | |
| |
223 | .method·private·static·partitionImpl(Ljava/util/Iterator;IZ)Lcom/google/common/collect/UnmodifiableIterator; | |
224 | ····.locals·1 | |
225 | ····.annotation·system·Ldalvik/annotation/Signature; | |
226 | ········value·=·{ | |
227 | ············"<T:", | |
228 | ············"Ljava/lang/Object;", | |
229 | ············">(", | |
230 | ············"Ljava/util/Iterator<", | |
231 | ············"TT;>;IZ)", | |
232 | ············"Lcom/google/common/collect/UnmodifiableIterator<", | |
233 | ············"Ljava/util/List<", | |
234 | ············"TT;>;>;" | |
235 | ········} | |
236 | ····.end·annotation | |
| |
237 | ····.line·595 | |
238 | ····invoke-static·{p0},·Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; | |
| |
239 | ····if-lez·p1,·:cond_0 | |
| |
240 | ····const/4·v0,·0x1 | |
| |
241 | ····goto·:goto_0 | |
| |
242 | ····:cond_0 | |
243 | ····const/4·v0,·0x0 | |
| |
244 | ····.line·596 | |
245 | ····:goto_0 | |
246 | ····invoke-static·{v0},·Lcom/google/common/base/Preconditions;->checkArgument(Z)V | |
| |
247 | ····.line·597 | |
248 | ····new-instance·v0,·Lcom/google/common/collect/Iterators$4; | |
| |
249 | ····invoke-direct·{v0,·p0,·p1,·p2},·Lcom/google/common/collect/Iterators$4;-><init>(Ljava/util/Iterator;IZ)V | |
| |
250 | ····return-object·v0 | |
251 | .end·method | |
| |
252 | .method·public·static·peekingIterator(Ljava/util/Iterator;)Lcom/google/common/collect/PeekingIterator; | 203 | .method·public·static·peekingIterator(Ljava/util/Iterator;)Lcom/google/common/collect/PeekingIterator; |
253 | ····.locals·1 | 204 | ····.locals·1 |
254 | ····.annotation·system·Ldalvik/annotation/Signature; | 205 | ····.annotation·system·Ldalvik/annotation/Signature; |
255 | ········value·=·{ | 206 | ········value·=·{ |
256 | ············"<T:", | 207 | ············"<T:", |
257 | ············"Ljava/lang/Object;", | 208 | ············"Ljava/lang/Object;", |
258 | ············">(", | 209 | ············">(", |
Offset 440, 76 lines modified | Offset 376, 14 lines modified |
440 | ····invoke-static·{v0,·v1},·Lcom/google/common/primitives/Ints;->saturatedCast(J)I | 376 | ····invoke-static·{v0,·v1},·Lcom/google/common/primitives/Ints;->saturatedCast(J)I |
| |
441 | ····move-result·p0 | 377 | ····move-result·p0 |
| |
442 | ····return·p0 | 378 | ····return·p0 |
443 | .end·method | 379 | .end·method |
| |
444 | .method·public·static·toString(Ljava/util/Iterator;)Ljava/lang/String; | |
445 | ····.locals·3 | |
446 | ····.annotation·system·Ldalvik/annotation/Signature; | |
447 | ········value·=·{ | |
448 | ············"(", | |
449 | ············"Ljava/util/Iterator<", | |
450 | ············"*>;)", | |
451 | ············"Ljava/lang/String;" | |
452 | ········} | |
453 | ····.end·annotation | |
| |
454 | ····.line·281 | |
455 | ····new-instance·v0,·Ljava/lang/StringBuilder; | |
| |
456 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | |
| |
457 | ····const/16·v1,·0x5b | |
| |
458 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | |
| |
459 | ····const/4·v1,·0x1 | |
| |
460 | ····.line·283 | |
461 | ····:goto_0 | |
462 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z | |
| |
463 | ····move-result·v2 | |
| |
464 | ····if-eqz·v2,·:cond_1 | |
| |
465 | ····if-nez·v1,·:cond_0 | |
| |
466 | ····const-string·v1,·",·" | |
| |
467 | ····.line·285 | |
468 | ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | |
| |
469 | ····:cond_0 | |
470 | ····const/4·v1,·0x0 | |
| |
471 | ····.line·288 | |
472 | ····invoke-interface·{p0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | |
| |
473 | ····move-result-object·v2 | |
| |
474 | ····invoke-virtual·{v0,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; | |
| |
475 | ····goto·:goto_0 | |
| |
476 | ····:cond_1 | |
477 | ····const/16·p0,·0x5d | |
| |
478 | ····.line·290 | |
479 | ····invoke-virtual·{v0,·p0},·Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; | |
| |
480 | ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | |
| |
481 | ····move-result-object·p0 | |
| |
482 | ····return-object·p0 | |
483 | .end·method | |
| |
484 | .method·public·static·unmodifiableIterator(Ljava/util/Iterator;)Lcom/google/common/collect/UnmodifiableIterator; | 380 | .method·public·static·unmodifiableIterator(Ljava/util/Iterator;)Lcom/google/common/collect/UnmodifiableIterator; |
485 | ····.locals·1 | 381 | ····.locals·1 |
486 | ····.annotation·system·Ldalvik/annotation/Signature; | 382 | ····.annotation·system·Ldalvik/annotation/Signature; |
487 | ········value·=·{ | 383 | ········value·=·{ |
488 | ············"<T:", | 384 | ············"<T:", |
489 | ············"Ljava/lang/Object;", | 385 | ············"Ljava/lang/Object;", |
490 | ············">(", | 386 | ············">(", |