Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

21
LINES

< > BotCompany Repo | #1012665 // assertDoesntContainIC

JavaX fragment (include)

static <C extends Collection<S>> C assertDoesntContainIC(C c, S y) {
  ret assertDoesntContainIC(null, c, y);
}

static <C extends Collection<S>> C assertDoesntContainIC(S msg, C c, S y) {
  if (cic(c, y))
    fail((msg != null ? msg + ": " : "") + y + " contained in " + c);
  ret c;
}

ifclass Symbol
static <C extends Collection<Symbol>> C assertDoesntContainIC(C c, Symbol y) {
  ret assertDoesntContainIC(null, c, y);
}

static <C extends Collection<Symbol>> C assertDoesntContainIC(S msg, C c, Symbol y) {
  if (cic(c, y))
    fail((msg != null ? msg + ": " : "") + y + " contained in " + c);
  ret c;
}
endif

Author comment

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: 422 / 435
Version history: 4 change(s)
Referenced in: [show references]