Libraryless. Click here for Pure Java version (215L/2K).
1 | static int minX(Iterable<Pt> l) { |
2 | int min = Int.MAX_VALUE; |
3 | fOr (Pt p : l) min = min(min, p.x); |
4 | ret min; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032230 |
Snippet name: | minX |
Eternal ID of this version: | #1032230/1 |
Text MD5: | 769a9cf7b5f9ef291b318e2257cf8b6d |
Transpilation MD5: | b8688e6df034cebce9103a2e3a46139f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-21 01:37:42 |
Source code size: | 115 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 157 / 236 |
Referenced in: | [show references] |