1 | List sublist = (List) tok.next();↵ | | 1 | List sublist = (List) tok.next();↵
|
|
2 | System.out.print("start=" + sublist.get(0));↵ | | 2 | System.out.print("start=" + sublist.get(0));↵
|
3 | System.out.println(" end=" + sublist.get(sublist.size() - 1));↵ | | 3 | System.out.println(" end=" + sublist.get(sublist.size() - 1));↵
|
|
4 | // if this is the last token, check if the last element↵ | | 4 | // if this is the last token, check if the last element↵
|
5 | // is the same than in the array↵ | | 5 | // is the same than in the array↵
|
6 | if (tok.hasNext() == false) {↵ | | 6 | if (tok.hasNext() == false) {↵
|
7 | assertEquals(sublist.get(sublist.size() - 1),↵ | | 7 | assertEquals(sublist.get(sublist.size() - 1),↵
|
8 | uids[uids.length - 1]);↵ | | 8 | uids[uids.length - 1]);↵
|
9 | } | | 9 | }
|