static void fillArrayUnlessZero(byte[] a, byte value) { if (value != 0) Arrays.fill(a, value); } static void fillArrayUnlessZero(int[] a, int value) { if (value != 0) Arrays.fill(a, value); } static void fillArrayUnlessZero(float[] a, float value) { if (value != 0) Arrays.fill(a, value); }
Began life as a copy of #1010765
download show line numbers debug dex old transpilations
Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, ofpaelxlmzfo, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019786 |
Snippet name: | fillArrayUnlessZero |
Eternal ID of this version: | #1019786/1 |
Text MD5: | 6434a8f0e64afa498df37053f0c1dc69 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-26 19:13:57 |
Source code size: | 308 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 336 / 390 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |