1 | // line2 = inclusive |
2 | static L<S> getLinesCountingFrom1(S text, int line1, int line2) { |
3 | ret cloneSubList(toLines(text), line1-1, line2); |
4 | } |
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: | #1008163 |
Snippet name: | getLinesCountingFrom1 - return a line range |
Eternal ID of this version: | #1008163/2 |
Text MD5: | 01b5b91d7616fe66e77bf62508d3a704 |
Author: | stefan |
Category: | javax / text |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-29 16:27:17 |
Source code size: | 142 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 456 / 482 |
Version history: | 1 change(s) |
Referenced in: | [show references] |