static <C extends Collection<S>> C assertContainsIC(C c, S y) { ret assertContainsIC(null, c, y); } static <C extends Collection<S>> C assertContainsIC(S msg, C c, S y) { if (!cic(c, y)) fail((msg != null ? msg + ": " : "") + y + " not contained in " + c); ret c; } ifclass Symbol static <C extends Collection<Symbol>> C assertContainsIC(C c, Symbol y) { ret assertContainsIC(null, c, y); } static <C extends Collection<Symbol>> C assertContainsIC(S msg, C c, Symbol y) { if (!cic(c, y)) fail((msg != null ? msg + ": " : "") + y + " not contained in " + c); ret c; } endif sS assertContainsIC(S x, S y) { if (!cic(x, y)) fail(quote(y) + " not contained in " + quote(x)); ret x; }
Began life as a copy of #1012660
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: | #1012661 |
Snippet name: | assertContainsIC |
Eternal ID of this version: | #1012661/8 |
Text MD5: | 8461fc2ac42eb9afba7561d623aa6f92 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-09 11:45:52 |
Source code size: | 743 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 500 / 522 |
Version history: | 7 change(s) |
Referenced in: | [show references] |