static <A> bool addIfNotInOtherSet(Collection<A> c, Set<A> set, A a) { ret c != null && !contains(set, a) && c.add(a); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021465 |
Snippet name: | addIfNotInOtherSet |
Eternal ID of this version: | #1021465/1 |
Text MD5: | e8f8ed6d6d377f6ec47b1340124107b5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-13 23:26:42 |
Source code size: | 124 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 284 / 340 |
Referenced in: | [show references] |