static <A, C extends Collection<A>> C assertDoesntContain(C c, A y) { ret assertDoesntContain(null, c, y); } static <A, C extends Collection<A>> C assertDoesntContain(S msg, C c, A y) { if (contains(c, y)) fail((msg != null ? msg + ": " : "") + y + " contained in " + c); ret c; }
Began life as a copy of #1012660
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025741 |
| Snippet name: | assertDoesntContain |
| Eternal ID of this version: | #1025741/1 |
| Text MD5: | 630a6def6b386b9fd8a84d8ec26781a2 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-10-16 17:56:07 |
| Source code size: | 299 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 515 / 541 |
| Referenced in: | [show references] |