static L<PairS> ai_findSuffixAddedElementsInSet(Set<S> set, S addedSuffix) { new L<PairS> out; for unnull (S s : set) { S x = s + addedSuffix; if (set.contains(x)) addPair(out, s, x); } ret out; }
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: | #1022733 |
Snippet name: | ai_findSuffixAddedElementsInSet |
Eternal ID of this version: | #1022733/3 |
Text MD5: | e9782802cf0a7e4c22980e6824fe8cc6 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-03 19:31:26 |
Source code size: | 226 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 299 / 352 |
Version history: | 2 change(s) |
Referenced in: | [show references] |