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

4
LINES

< > BotCompany Repo | #1019298 // uniq_returnIfNew

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

Libraryless. Click here for Pure Java version (19330L/117K).

static <A extends Concept> A nuLike uniq_returnIfNew(Concepts cc default db_mainConcepts(), Class<A> c, O... params) {
  Pair<A, Bool> p = uniq2(cc, c, params);
  ret p.b ? p.a : null;
}

Author comment

Began life as a copy of #1008467

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019298
Snippet name: uniq_returnIfNew
Eternal ID of this version: #1019298/4
Text MD5: edb657c5ba1aabea226a55408f6e9401
Transpilation MD5: 8ee71e87c61b1dd90ec86a8bc0c56b0b
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-13 16:01:03
Source code size: 189 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 361 / 457
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020943 - uniq_returnIfOld
#1025135 - uniq_trueIfNew
#1028102 - uniqCI_returnIfNew