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

8
LINES

< > BotCompany Repo | #1017817 // mapIntoSameCollection - does nothing if exception anywhere

JavaX fragment (include)

svoid mapIntoSameCollection(O f, Collection c) {
  if (c == null) ret;
  replaceCollection(c, map(f, c));
}

svoid mapIntoSameCollection(Collection c, O f) {
  mapIntoSameCollection(f, c);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017817
Snippet name: mapIntoSameCollection - does nothing if exception anywhere
Eternal ID of this version: #1017817/3
Text MD5: 274cb5bb6c69a0dda70302e2fb55ef31
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-14 21:46:32
Source code size: 197 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 370 / 400
Version history: 2 change(s)
Referenced in: [show references]