Combines two iterators into a single iterator. The returned iterator iterates across the elements in a, followed by the elements in b. The source iterators are not polled until necessary. The returned iterator supports remove() when the corresponding input iterator suppor
(Iterator<? extends T> a, Iterator<? extends T> b)
| 482 | |
| 483 | |
| 484 | public static <T> Iterator<T> concat(Iterator<? extends T> a, Iterator<? extends T> b) { |
| 485 | checkNotNull(a); |
| 486 | checkNotNull(b); |
| 487 | return concat(new ConsumingQueueIterator<Iterator<? extends T>>(a, b)); |
| 488 | } |
| 489 | |
| 490 | /** |
| 491 | * Combines three iterators into a single iterator. The returned iterator |
no test coverage detected