1 | static <C extends Collection<S>> C assertDoesntContainIC(C c, S y) { |
2 | ret assertDoesntContainIC(null, c, y); |
3 | } |
4 | |
5 | static <C extends Collection<S>> C assertDoesntContainIC(S msg, C c, S y) { |
6 | if (cic(c, y)) |
7 | fail((msg != null ? msg + ": " : "") + y + " contained in " + c); |
8 | ret c; |
9 | } |
10 | |
11 | ifclass Symbol |
12 | static <C extends Collection<Symbol>> C assertDoesntContainIC(C c, Symbol y) { |
13 | ret assertDoesntContainIC(null, c, y); |
14 | } |
15 | |
16 | static <C extends Collection<Symbol>> C assertDoesntContainIC(S msg, C c, Symbol y) { |
17 | if (cic(c, y)) |
18 | fail((msg != null ? msg + ": " : "") + y + " contained in " + c); |
19 | ret c; |
20 | } |
21 | endif |
Began life as a copy of #1012661
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: | #1012665 |
Snippet name: | assertDoesntContainIC |
Eternal ID of this version: | #1012665/5 |
Text MD5: | 1b8af947678784b08d3502bd2cd502f1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-10 21:32:16 |
Source code size: | 635 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 498 / 519 |
Version history: | 4 change(s) |
Referenced in: | [show references] |