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

5
LINES

< > BotCompany Repo | #1029655 // addDyn_quickSync - add to list and create list if necessary, synchronize on list

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

Libraryless. Click here for Pure Java version (40L/1K).

static <A> L<A> addDyn_quickSync(L<A> l, A a) {
  if (l == null) l = new L;
  syncAdd(l, a);
  ret l;
}

Author comment

Began life as a copy of #1023121

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029655
Snippet name: addDyn_quickSync - add to list and create list if necessary, synchronize on list
Eternal ID of this version: #1029655/1
Text MD5: e3c1f746b7fa8b073467c9481e82b0e0
Transpilation MD5: 0dae5218f48e09f186944eec3285371b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-04 21:54:08
Source code size: 107 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 154 / 224
Referenced in: [show references]