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

5
LINES

< > BotCompany Repo | #1010822 // getAndClear

JavaX fragment (include)

static <A> A getAndClear(IVar<A> v) {
  A a = v!;
  v.set(null);
  ret a;
}

Author comment

Began life as a copy of #1006091

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: #1010822
Snippet name: getAndClear
Eternal ID of this version: #1010822/2
Text MD5: e0a999ccc5fd761ebd86cba1e630a4d3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-04 00:19:48
Source code size: 79 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 475 / 512
Version history: 1 change(s)
Referenced in: [show references]