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

5
LINES

< > BotCompany Repo | #1032231 // maxX

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

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

static int maxX(Iterable<Pt> l) {
  int max = Int.MIN_VALUE;
  fOr (Pt p : l) max = max(max, p.x);
  ret max;
}

Author comment

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: 142 / 220
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032233 - maxY