Libraryless. Click here for Pure Java version (2526L/16K).
1 | static BigInt bigIntMax(Iterable<BigInt> l) { |
2 | Iterator<BigInt> it = iterator(l); |
3 | if (!it.hasNext()) null; |
4 | BigInt max = it.next(); |
5 | while ping (it.hasNext()) |
6 | max = max.max(it.next()); |
7 | ret max; |
8 | } |
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: | 226 / 309 |
Referenced in: | [show references] |