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

6
LINES

< > BotCompany Repo | #1012523 // ai_firstMention

JavaX fragment (include)

1  
static long ai_firstMention(S s) {
2  
  long min = Long.MAX_VALUE;
3  
  for (Web web : indexedWebs(s))
4  
    if (web.created != 0) min = min(min, web.created);
5  
  ret min == Long.MAX_VALUE ? 0 : min;
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012523
Snippet name: ai_firstMention
Eternal ID of this version: #1012523/1
Text MD5: 718395908213fabc96a617043debab07
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-06 20:09:26
Source code size: 197 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 420 / 452
Referenced in: [show references]