static bool smallestList_contains(O l, O o) { if (l == null) false; if (l << Pair) ret pairContains(l/Pair, o); if (l << Triple) ret tripleContains(l/Triple, o); if (l instanceof O[]) ret contains((O[]) l, o); ret l == o; }
Began life as a copy of #1011507
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011508 |
Snippet name: | smallestList_contains |
Eternal ID of this version: | #1011508/3 |
Text MD5: | 620538986beb4fc600acf7de03a7b9cd |
Author: | stefan |
Category: | javax / collections |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-02 02:10:59 |
Source code size: | 239 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 519 / 562 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1011511 - smallestList_get - returns null if not in range |