This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.expedia.sample; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
public class MultiListIterator<E> implements Iterator<E> { | |
private ArrayList<ArrayList<E>> useThisList; | |
private int numOfList; | |
private int[] sizeOfEachList; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 2 | |
4 1 | |
4 3 | |
0 5 | |
2 7 | |
4 3 | |
2 5 | |
0 1 | |
3 3 | |
2 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 9 | |
0 8 | |
8 0 | |
4 6 | |
6 4 | |
8 0 | |
0 0 | |
2 2 | |
2 5 | |
8 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 2 | |
6 3 | |
0 2 | |
0 2 | |
4 2 | |
7 3 | |
2 3 | |
6 6 | |
8 2 | |
0 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 2 | |
4 1 | |
4 3 | |
0 5 | |
2 7 | |
4 3 | |
2 5 | |
0 1 | |
3 3 | |
2 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 9 | |
0 8 | |
8 0 | |
4 6 | |
1 4 | |
8 0 | |
0 0 | |
2 2 | |
4 5 | |
8 8 |