static short shortMin(Iterable<Short> l) { int min = Short.MAX_VALUE; fOr (short d : l) min = Math.min(min, d); ret (short) min; } static short shortMin(short[] l) { int min = Short.MAX_VALUE; fOr (short d : l) min = Math.min(min, d); ret (short) min; }
Began life as a copy of #1030115
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032410 |
Snippet name: | shortMin |
Eternal ID of this version: | #1032410/4 |
Text MD5: | dbc09e0c9836704900bec49736249c66 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-03 02:15:09 |
Source code size: | 286 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 139 / 182 |
Version history: | 3 change(s) |
Referenced in: | [show references] |