Libraryless. Click here for Pure Java version (216L/2K).
1 | static int maxX(Iterable<Pt> l) {
|
2 | int max = Int.MIN_VALUE; |
3 | fOr (Pt p : l) max = max(max, p.x); |
4 | ret max; |
5 | } |
Began life as a copy of #1032230
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032231 |
| Snippet name: | maxX |
| Eternal ID of this version: | #1032231/1 |
| Text MD5: | 927179a0d0c3a239579e8f5cc18630a2 |
| Transpilation MD5: | c0dcf682bdd260fd0f2f0e6b2ff8c737 |
| 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:38:05 |
| Source code size: | 115 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 347 / 477 |
| Referenced in: | [show references] |