Libraryless. Click here for Pure Java version (2253L/14K).
static ItIt<short[]> shortArrayChunksIterator(short[] l, int chunkSize) { ret iteratorFromFunction(new IF0<short[]>() { int n = l(l), i; public short[] get() { if (i >= n) null; i += chunkSize; ret subShortArray(l, i-chunkSize, i); } }); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026949 |
Snippet name: | shortArrayChunksIterator |
Eternal ID of this version: | #1026949/2 |
Text MD5: | e6f792f78bcb79dc37eb8504fbb50d03 |
Transpilation MD5: | 708557b86b3f392af00821b070c04abe |
Author: | stefan |
Category: | javax / audio |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-03 14:18:31 |
Source code size: | 288 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 238 / 320 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1034330 - byteArrayChunksIterator |