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

5
LINES

< > BotCompany Repo | #1032233 // maxY

JavaX fragment (include)

1  
static int maxY(Iterable<Pt> l) {
2  
  int max = Int.MIN_VALUE;
3  
  fOr (Pt p : l) max = max(max, p.y);
4  
  ret max;
5  
}

Author comment

Began life as a copy of #1032231

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032233
Snippet name: maxY
Eternal ID of this version: #1032233/1
Text MD5: b89ec233eb979fb542a570afb691d9cf
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:39:05
Source code size: 115 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 185
Referenced in: [show references]