Libraryless. Click here for Pure Java version (5514L/31K).
static <A> Set<A> createOrAddToSyncLinkedHashSet(Set<A> set, A a) { if (set == null) set = syncLinkedHashSet(); set.add(a); ret set; }
Began life as a copy of #1032548
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034452 |
Snippet name: | createOrAddToSyncLinkedHashSet |
Eternal ID of this version: | #1034452/1 |
Text MD5: | e6bbe4b6385cfc57cb8ddb1b1706f04c |
Transpilation MD5: | 519e49a2ec50d41adcec256bd10be21c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-08 00:18:33 |
Source code size: | 144 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 140 / 220 |
Referenced in: | [show references] |