static L<S> containing(Collection<S> l, fS x) { new LS out; for (S s : unnull(l)) if (contains(s, x)) out.add(s); ret out; } static L<S> containing(S x, Collection<S> l) { ret containing(l, x); }
Began life as a copy of #1018902
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1020538 |
Snippet name: | containing |
Eternal ID of this version: | #1020538/1 |
Text MD5: | 22a66f14d17ac9798a268a55f562f4b4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-26 00:53:54 |
Source code size: | 224 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 286 / 337 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030087 - notContaining |