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

8
LINES

< > BotCompany Repo | #1030363 // bigIntMax

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

Libraryless. Click here for Pure Java version (2526L/16K).

static BigInt bigIntMax(Iterable<BigInt> l) {
  Iterator<BigInt> it = iterator(l);
  if (!it.hasNext()) null;
  BigInt max = it.next();
  while ping (it.hasNext())
    max = max.max(it.next());
  ret max;
}

Author comment

Began life as a copy of #1006065

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030363
Snippet name: bigIntMax
Eternal ID of this version: #1030363/1
Text MD5: f048d9f43e30b583184a135a2afbe084
Transpilation MD5: 55157e1d3e5f09d508ca76fc32199937
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-09 15:14:51
Source code size: 213 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 227 / 309
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)