static short[] subShortArray(short[] b, int start, int end) { start = max(start, 0); end = min(end, l(b)); if (start == 0 && end == l(b)) ret b; if (start >= end) ret new short[0]; short[] x = new short[end-start]; System.arraycopy(b, start, x, 0, end-start); ret x; }
Began life as a copy of #1014874
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017153 |
Snippet name: | subShortArray |
Eternal ID of this version: | #1017153/1 |
Text MD5: | 9a3d45e20f022f99acad860acc819b77 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-13 12:59:23 |
Source code size: | 287 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 433 / 456 |
Referenced in: | [show references] |