Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1032230 // minX

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (215L/2K).

static int minX(Iterable<Pt> l) {
  int min = Int.MAX_VALUE;
  fOr (Pt p : l) min = min(min, p.x);
  ret min;
}

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: 156 / 234
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032231 - maxX
#1032232 - minY