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

6
LINES

< > BotCompany Repo | #1025547 // longMin

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

Libraryless. Click here for Pure Java version (36L/1K).

static Long longMin(Iterable<Long> l) {
  Long min = null;
  for (long x : l)
    min = min == null ? x : Math.min(min, x);
  ret min;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025547
Snippet name: longMin
Eternal ID of this version: #1025547/2
Text MD5: da59f29bca274718328f92748a85c3bf
Transpilation MD5: 0f0cd97c98b3b780894ae39370ef8cf2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-09-11 20:14:17
Source code size: 141 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 242
Version history: 1 change(s)
Referenced in: [show references]