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

6
LINES

< > BotCompany Repo | #1018759 // getWeakReferencesList

JavaX fragment (include)

static <A> L<A> getWeakReferencesList(L<WeakReference<A>> l) {
  new L<A> out;
  for (WeakReference<A> ref : unnull(l))
    addIfNotNull(out, ref!);
  ret out;
}

Author comment

Began life as a copy of #1009728

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: #1018759
Snippet name: getWeakReferencesList
Eternal ID of this version: #1018759/1
Text MD5: afacfe90eb55b8057fdf874cf75d71fe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-13 14:31:37
Source code size: 166 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 355 / 389
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)