Download Jar. Libraryless. Click here for Pure Java version (3635L/23K).
1 | !7 |
2 | |
3 | p { |
4 | L<S> l; |
5 | Iterator<S> itInput = iterator(l = repF(5, f aGlobalID)); |
6 | L<IterableIterator<S>> splitIt = splitIterator(2, itInput); |
7 | |
8 | L<S> l1, l2; |
9 | pnlStruct(l1 = iteratorToList(first(splitIt))); |
10 | pnlStruct(l2 = iteratorToList(second(splitIt))); |
11 | |
12 | assertEquals(l, l1); |
13 | assertEquals(l, l2); |
14 | print("OK"); |
15 | } |
Began life as a copy of #1013601
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013603 |
Snippet name: | Test splitIterator (OK!) |
Eternal ID of this version: | #1013603/7 |
Text MD5: | 54025dc84d321017d5d9326b4e891108 |
Transpilation MD5: | b6808b205366183bf490de96e094d73c |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-11 13:52:45 |
Source code size: | 338 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 495 / 1127 |
Version history: | 6 change(s) |
Referenced in: | [show references] |