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

3
LINES

< > BotCompany Repo | #1016980 - syncClear - clear & synchronize on collection

JavaX fragment (include)

static <A> void syncClear(Collection<A> c) {
  if (c != null) synchronized(c) { c.clear(); }
}

Author comment

Began life as a copy of #1016979

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1016980
Snippet name: syncClear - clear & synchronize on collection
Eternal ID of this version: #1016980/3
Text MD5: 9cc06fb0c10fff8b79df31ab017dac17
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-09 20:45:01
Source code size: 96 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 119 / 114
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1016980 & http://1016980.tinybrain.de